Drupal WxT: Docker Containers
A Docker workflow to leverage the Drupal WxT distribution.
Install Docker Toolbox which is comprised of the following tools:
Clone this repo to the directory of your choice
Enter the directory in which you cloned this repo and via Composer:
This will create a
vendordirectory with the
WxTdistribution with associated Drupal dependencies.
To override the default machine created upon first run of
docker-composean example below is given:
docker-machine create -d virtualbox \ --engine-label disktype=ssd \ --engine-storage-driver overlay2 \ --virtualbox-cpu-count "4" \ --virtualbox-memory "8048" \ default
Note: Overlay2 is only supported in OS's with Linux Kernel 4.0+
Build + start the required infrastructure via Docker containers through
docker-compose up -d
/etc/hostsfile associated to the ip found with docker machine
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/main.sh wxt-first-run
or by leveraging our Makefile:
Where possible we try to follow the best practices laid out by the top-tier distributions:
- Lightning distribution created by Acquia
- Open Social distribution created by Goal Gorilla
- Panopoly distribution created by Pantheon
You are heavily encouraged to check these distributions out!