Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

A Drupal-oriented LAMP stack base image for Docker

Lampd is a Docker base image, based itself on modified Ubuntu base image Phusion.

Learn more at Docker Hub on Phusion Base Image.

Lampd is available for pulling from the Docker registry.


On top of all the components provided by the Phusion base image, Lampd base image contains essential components for Drupal development:

  • Ubuntu 14.04 LTS as base system
  • Apache2
  • MySQL
  • PHP 5.5.9
  • Git
  • Composer
  • Drush 8.x
  • Behat 3.0 with Drupal Extension
  • A JUnit formatter for Behat 3.0
  • Asciidoctor

Use Lampd as base image

The image is called savoirfairelinux/lampd, and is available on the Docker registry.

# Docker Drupal
# VERSION       0.3
FROM    savoirfairelinux/lampd


Start a container:

docker run YOUR_IMAGE

Find out the container ID that you just ran:

docker ps

Once you have the ID, look for its IP address with:

docker inspect -f "{{ .NetworkSettings.IPAddress }}" <ID>

Now that you have the IP address, you can use SSH to login to the container, or to execute a command inside it:

# Login to the container
ssh -i /path-to/your_key root@<IP address>

# Running a command inside the container
ssh -i /path-to/your_key root@<IP address> echo hello world


Created and maintained by Ernesto Rodriguez Ortiz and Savoir-faire Linux Drupal Team.


GPL v2

Docker Pull Command
Source Repository