phpmentors-jp / docker-images

https://registry.hub.docker.com/u/phpmentors/
MIT License
26 stars 14 forks source link

Script to initialize a container #2

Closed iteman closed 9 years ago

iteman commented 9 years ago

This allows you to run a container with your init script.

docker run --name <name> -v /path/to/php-app:/var/app -e APP_INIT_SCRIPT=docker/app-init -d phpmentors/php-app:php55