Get up and running with Docker in no time flat.
Note: This project uses the trusty box provided by Ubuntu.
git clone [email protected]:hopsoft/docker_up.git
cd docker_up
vagrant up
vagrant ssh
docker -v
Note: The the first run downloads the Docker image. Subsequent runs are much faster.
sudo docker run ubuntu echo 'Hello from inside a Docker container!'
In this example we create a Docker image named example/hello
, then run the hello
command in the container.
sudo docker build -t example/hello /vagrant
sudo docker run example/hello
Thats it! Poke around the project to see just how easy this stuff is.
Now start writing some Dockerfiles.