Docker Container for a laravel nginx vhost, an extension of https://github.com/outrunthewolf/dockerfile-base-nginx
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 app/laravel .
Once you've got a completed image, you can run the container outright and pipe in your local laravel files:
# Daemon
sudo docker run -d -v /home/user/laravel-app app/laravel:/home/laravel/public_html app/laravel
sudo docker run -i -t -v /home/user/laravel-app app/laravel:/home/laravel/public_html 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 app/laravel
...