$ git clone [email protected]:brunogoossens/dockercompose-drupal8.git Drupal8-Docker
$ cd Drupal8-Docker
Start a new terminal (because the other one is running our containers) and copy the Drupal 8 code into the ./web/app folder.
$ git clone --branch 8.4.x http://git.drupal.org/project/drupal.git web/app
This command will build the containers and start the web and mysql servers. All logging will be outputted on the screen.
$ docker-compose up -d
$ docker-compose exec web composer install -o
$ docker-compose exec web drupal site:install --db-host=mysql --db-name=drupal8 --db-user=root --db-pass=root