Docker container with Nginx/PHP-FPM stack based on Centos7
This repository contains Dockerfile of Nginx and PHP-FPM for Docker's automated build published to the public Docker Hub Registry.
docker run -d -p 80:80 docker pull s1rc0/nginx-php-fpm
docker run -d -p 80:80 -v <html-dir>:/usr/share/nginx/html s1rc0/nginx-php-fpm
After few seconds, open http://<host>
to see the welcome page.