CentOS with Nginx 1.9 and PHP 5.6 (with apc caching and fpm)
2.3K
The docker container is based on CentOS 7. Nginx 1.9 has been installed to support php v5.6
More details are available on Docker Hub Registry.
Install Docker on your favourite distro and run the container
Run the below commands to run the container
docker pull vikas027/centos-nginx-php
OR
docker run --name <any_name> -e 'TIMEZONE=Canada/Central' -e 'ROOT_PASS=secret' -d -p <host_http_port>:80 -p <host_ssh_port>:22 -v <path_of_website_files>:/usr/share/nginx/html vikas027centos-nginx-php
Once the container is up, you can browse to below link and see if everything is working for you as expected.
http://<IP>:<Port>/info.php
Content type
Image
Digest
Size
322.7 MB
Last updated
over 10 years ago
docker pull vikas027/centos-nginx-php