Skip to content

Dockerfile for php5.4, apache, mysql and some additional features (git, mercurial, php-gd...)

Notifications You must be signed in to change notification settings

fulaizhang/docker-php5.4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Notes pour l'utilisation du docker

Une base de données vide est initialisée au build du docker. Le nom de la base est db, le mot de passe dbpassword.

Exemple de build & run

Build

docker build -t generic-php54 .

Run (après chaque build)

docker run --name="php54" -d -p 3354:3306 -p 9054:9000 -p 44354:443 -p 8054:80 -t -i -v /var/www/host:/var/www/html -v $SSH_AUTH_SOCK:/ssh-agent --env SSH_AUTH_SOCK=/ssh-agent generic-php54

About

Dockerfile for php5.4, apache, mysql and some additional features (git, mercurial, php-gd...)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published