Public | Automated Build

Last pushed: 2 years ago
Short Description
nginx-php7.0-fpm with php-mongo extension installed.
Full Description

Version

nginx: 1.8.0
php: 7.0.2

Run the container

docker run -p 8080:80 -d jianzhong/nginx-php7-fpm-mongo

Then, open http://<docker_host_ip>:8080 in your browser, you will see a phpinfo() page.

Stop the container

docker stop `docker ps -q`

Mount your local directory

If you want to link to your web site directory on the docker host to the container run:

docker run -p 8080:80 -v /docker_host_directory:/var/www/html -d jianzhong/nginx-php7-fpm-mongo
Docker Pull Command
Owner
jianzhong
Source Repository