Skip to content

andreisusanu/docker-nginx-php5.6

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Docker image for NGINX and PHP5.6

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published