Installing Drupal 8 with composer and Docker - docker4drupal

Опубликовано: 13 Апрель 2026
на канале: Drupal Up - Drupal 8 Video Tutorials
10,930
106

In this video, we are going to see how to install Drupal 8 with the help of the drupal-composer project and the docker for Drupal project.

The latest version (Oct. 2018), relevant for docker4drupal you could find here:    • Installing Drupal 8 with composer and Dock...  

We are going to download the drupal-composer project with the help of composer create-project:

composer create-project drupal-composer/drupal-project:8.x-dev drupal_dandy --stability dev --no-interaction

Then we are going to clone the docker4drupal repo in another folder:

git clone [email protected]:wodby/docker4drupal.git drupal_docker_server

And then remove the .git folder in the drupal_docker_server folder:

rm -R drupal_docker_server/.git

And compy the content of the folder to the drupal project:

cp -R drupal_docker_server drupal_dandy

Afterwards, we are going to do some changes in the docker-compose.yml and build our containers:

docker-compose up -d

How to install composer:
https://getcomposer.org/doc/00-intro....

How to install Docker:
https://docs.docker.com/engine/instal...

drupal-composer
https://github.com/drupal-composer/dr...

docker4drupal
https://github.com/wodby/docker4drupal