Overview
Docker is an excellent containerised platform service suitable for large scale application deployment in cloud infrastructure. Docker has matured very well in recent years and is now used by some of the worlds most forward thinking companies when building and deploying their applications in their chosen infrastructure.
Get Docker
Download docker -> here
Run Instant Applications
Docker can pull and deploy applications from base images quickly and reliably.
In this case we will deploy an instance of nginx from the public Docker repository:
docker run -d -p 80:8080 --name webserver nginx
In this case we will deploy an instance of nginx from the public Docker repository:
you can see it working by hitting localhost on port 80 in your browser:
http://localhost:80
You can do the same with an instance of Drupal:
docker run --name some-drupal -p 80:80 -d drupal
Docker Images
See all local Docker images:
docker images
Name Conflicts
Be aware that docker need unique names when starting containers. If you get an error drop the name switch when running or choose a new name.
View Running Docker Images
docker ps
Stop Running Instances
After running docker ps look at the id on the left hand side of the result
docker stop [id]