Skip to content
Set a local Drupal 8 environment to develop and test core patches.
Shell PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Drupal 8 core dev helper

This project is meant to help you set a local Drupal 8 environment to help develop and test core patches.


Install and launch Docker, then run:

git clone && \
  cd drupal8_core_dev_helper && \

The above will give you a login link to a fully-functional local Drupal environment, which you can open in a browser.

Your Drupal code now available at ./drupal8_core_dev_helper/drupal.

More details

See the blog post Fast-track local Drupal 8 core patch development and testing, April 7, 2018, Dcycle Blog.

Useful commands

  • docker-compose down powers down your Docker containers.
  • ./scripts/ powers down and destroys your Docker containers, and deletes your local copy of Drupal at /path/to/drupal8_core_dev_helper/drupal.
  • ./scripts/ powers up your Docker containers and installs Drupal if necessary.
  • ./scripts/ generates a one-time login link to your Drupal environment.
  • docker-compose exec drupal /bin/bash -c 'drush ...' calls drush on the Drupal container.
You can’t perform that action at this time.