Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 883 Bytes

README.md

File metadata and controls

43 lines (30 loc) · 883 Bytes

nginx-php5.6

Docker image for NGINX and PHP5.6, started using Supervisor.

Last stable NGINX installed from official stable repository (http://ppa.launchpad.net/nginx/stable/ubuntu) Last PHP5.6 installed from Ondřej Surý's unofficial repository (http://ppa.launchpad.net/ondrej/php5/ubuntu)

Build image

docker build -t andreisusanu/nginx-php5.6 .

Run container

docker run \
    --name nginx-php5.6 \
    -p 8000:80 \
    -v /path/to/local/www:/var/www/html \
    andreisusanu/nginx-php5.6

Test container

http://localhost:8000/

Run bash on container (for debug)

docker exec -it nginx-php5.6 bash