I put a Drupal Base image on Docker Hub that sets up a correct environment for Drupal 7 and 8. Use the tag for the appropriate version of Drupal. Currently, tag/version 7 is available and tag/version 8 is on its way shortly.

To pull the Drupal 7 environment, run:

docker pull xandermar/drupal-base:7

The containers are built with:

  • Composer
  • Drush 8
  • Compass (SASS)