Public | Automated Build

Last pushed: a year ago
Short Description
Run drupal console for d8.
Full Description


This container allows you to run drupal console against your drupal docker container.

It has been build to run with a drupal composer project, but expects the web root to be named html instead of web or docroot.


  1. Clone this repository
git clone --recursive
cd docker-drupalconsole
  1. Build the image
docker-build -t drupalconsole .


  1. Run
cd /path/to/drupal-project
docker run --rm -it -v="./:/var/www" drupalconsole $rest_of_drupal_console_command

for example:

docker run --rm -it -v="./:/var/www" drupalconsole list
docker run --rm -it -v="./:/var/www" drupalconsole generate:module


This project uses the same license as Drupal Console, which is posted to and therefore uses GNU/GPL version 2 and later.

Docker Pull Command
Source Repository