Public Repository

Last pushed: 3 years ago
Short Description
PHP development container
Full Description

PHP development container


  • Apache
  • MySql
  • PHP 5.5, 5.4, 5.3 and 5.2 including ioncube and zend guard loader / zend optimizer
  • PhpMyAdmin
  • phpbrew
  • Node.js
  • Sass
  • Bower
  • Grunt
  • Gulp


docker build -t <yourname>/phpapp


docker run -d --name <containername> -e "PHP_VERSION=5.5" -v <yourappfolder>:/var/www:rw <yourname>/phpapp [-privileged]

You can choose php 5.5, 5.4, 5.3 and 5.2. Default if no env var is given is 5.5.

SSH user

User: root
Pass: root

More awesomeness with skydock

Add the following to your docker config at /etc/default/
DOCKER_OPTS="-d --bip= --dns="

Run the following commands
`docker pull crosbymichael/skydns
docker run -d -p --name skydns crosbymichael/skydns -nameserver -domain docker
docker pull crosbymichael/skydock
docker run -d -v /var/run/docker.sock:/docker.sock --name skydock crosbymichael/skydock -ttl 30 -environment dev -s /docker.sock -domain docker -name skydns

Add the following to _/etc/resolvconf/resolv.conf.d/head_

and run

resolvconf -u

Now you can access your app via http://<containername>

Docker Pull Command