$ git clone https://github.com/elissaheller/Docker-Drupal8.git Drupal8-Docker
$ cd Drupal8-Docker
Copy the Drupal 8 code into the ./web/app folder.
$ git clone --branch 8.6.x http://git.drupal.org/project/drupal.git web/app
This command will build the containers and start the web, phpmyadmin and mysql servers.
$ 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
- Host: 0.0.0.0
- Username: root
- Password: root