Public | Automated Build

Last pushed: a year ago
Short Description
A Docker workflow to leverage the Drupal WxT distribution.
Full Description

Drupal WxT: Docker Containers

A Docker workflow to leverage the Drupal WxT distribution.


Docker Toolbox

  1. Install Docker Toolbox which is comprised of the following tools:


  1. Clone this repo to the directory of your choice ~/sites/wxt.

  2. Enter the directory in which you cloned this repo and via Composer:

     composer install
  3. This will create a html + vendor directory with the WxT distribution with associated Drupal dependencies.


Docker Containers

  1. To override the default machine created upon first run of docker-compose an example below is given:

     docker-machine create -d virtualbox \
       --engine-label disktype=ssd \
       --engine-storage-driver overlay2 \
       --virtualbox-cpu-count "4" \
       --virtualbox-memory "8048" \

    Note: Overlay2 is only supported in OS's with Linux Kernel 4.0+

  2. Build + start the required infrastructure via Docker containers through docker-compose:

     docker-compose up -d
  3. Add to your /etc/hosts file associated to the ip found with docker machine docker-machine ls.

Drupal WxT

  1. With all of the pre-requisites installed + built you can now simply install Drupal WxT via the following:

     docker exec wxt_web bash /root/scripts/ wxt-first-run

    or by leveraging our Makefile:

     make drupal_install


Where possible we try to follow the best practices laid out by the top-tier distributions:

You are heavily encouraged to check these distributions out!

Docker Pull Command
Source Repository