Docker Container for a basic nginx, php5, mysql setup
Docker >= 0.6.x
Clone, pull or download the repository. At the same level as the dockerfile build your container with whatever name you'd like:
sudo docker build -t base/nginx .
Once you've got a completed image, you can run the container outright:
# Daemon
sudo docker run -d base/nginx
sudo docker run -i -t base/nginx /bin/bash
Or you can couple the built container as a base for another application within its Dockerfile
# Dockerfile example
# Set the new application to inherit this container
FROM base/nginx
...