A docker image for running Nginx with PHP5.
1.7K
A Dockerfile which produces a docker image that runs Nginx with PHP5.
$ sudo docker build -t="paintedfox/nginx-php5" .
The Nginx server is configured to host a website from the /data folder inside the container. You can map the container's /data volume to a volume on the host so the data becomes independant of the running container.
This example uses /tmp/www to host from, but you can modify this to your needs.
$ mkdir -p /tmp/www
$ sudo docker run -p 80 -v /tmp/www:/data paintedfox/nginx-php5
Content type
Image
Digest
sha256:1c1daa69e…
Size
208.9 MB
Last updated
almost 11 years ago
docker pull paintedfox/nginx-php5