Docker optimized LAMP stack for Drupal developers

Docker is an open platform for developers and sysadmins to build, ship, and run distributed applications, whether on laptops, data center VMs, or the cloud.

With docker, you can setup and run a fully isolated environment with just one command, and this environment will be able to run on any platform where Docker runs.
It's trully amazing how fast you can now deploy environments.

I just created a complete docker optimized LAMP stack for Drupal developers, based on Debian 7.5 Wheezy, with :

  • Apache/2.2.22 (Debian) on port 80
  • PHP 5.4.4-14 (/phpinfo.php)
  • MySQL 5.5.37 (root / testenv)
  • Drush 6.2.0
  • phpMyAdmin 3.4.11.1 (/phpmyadmin)
  • APC 3.1.13 (/apc.php)
  • Memcache 1.4.13 (/memcache.php // memcache / password)
  • Postfix 2.9.6
  • SVN 1.8.9
  • GIT 1.7.10.4
  • Sass 3.3.8 (Maptastic Maple)
  • Compass 0.12.6 (Alnilam)
  • Xhprof 0.9.2
  • Xdebug 2.2.5
  • Files apc.php, memcache.php and phpinfo.php already in /var/www

USE :

On your docker server/computer, just run:

docker run -d -p 127.0.0.1:2222:22 -p IP_ADDRESS:80:80 -t -i tehes/superdevlamp

Access your container :

http://IP_ADDRESS
http://IP_ADDRESS/phpinfo.php
http://IP_ADDRESS/phpmyadmin
http://IP_ADDRESS/apc.php
http://IP_ADDRESS/memcache.php
ssh [email protected]t -p 2222 (password = password // SSH only allowed from the host)

And enjoy the power of containers ! :)

Docker repository : https://registry.hub.docker.com/u/tehes/superdevlamp/