Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

Usage

docker run -d -p=80:80 --name=web johnnyzheng/centos-nginx-php

Customise

This docker file is forked from million12/nginx-php. Please feel free to update to your own use.

Authors

Author: johnnyzheng (johnny@itfolks.com.au)

Docker Pull Command
Owner
johnnyzheng

Comments (2)
johnnyzheng
2 years ago

Can you try the new version?

It may be because of the 10-nginx-data-dirs.sh script in init folder that tried to change ownership of /data/www folder to the www user in the container. This is not necessary so it's now disabled.

codinglimo
2 years ago

With volume your container not work

sjas-MacBook-Pro:~ sja$ docker run --name test555 -p 32781:80 -v /Users/sja/Sites/test555:/data/www/default johnnyzheng/centos-nginx-php
chown: changing ownership of '/data/www/default/index.html': Operation not permitted
chown: changing ownership of '/data/www/default': Operation not permitted