Out-of-the-box LNP image (Linux Nginx with PHP Fpm)
docker pull justckr/ubuntu-nginx-php:latest
docker pull justckr/ubuntu-nginx-php:php7
To build your own image download the source and execute the following command within the root of the source:
docker build -t ubuntu-nginx .
Start your image binding the external ports 80 and 443 in all interfaces to your container:
docker run -d -P --name myapp -v /path/to/cloned/project:/app justckr/ubuntu-nginx-php
Test your deployment:
Run docker ps to see which port your image has been assiged, then use your docker host ip with that port number.
Please note that nginx points to /app/src/public this is the default configuration for drive application that are based on zend.
That's it!