Run Drupal 8.x.x on Docker containers
And that's it, you got yourself a fully-functional Drupal website on localhost without wasting time to install Apache + PHP + Drupal on your machine.
The following credentials are used along the installation:
Choose the proper
DB_HOSTNAME depending on which Database you use: MySQL or PostgreSQL.
In case there are problems with the host of the db, do
docker ps and copy the NAME of
the DB Docker container
make down # stop containers make in # enter the Drupal container make restart # restart containers make clean # remove containers and all local docker images
Feel free to fork and contribute to this code. :)
git checkout -b my-new-feature)
git commit -am 'Added some feature')
git push origin my-new-feature)
Sources that guided me throughout the development of this project can be found in the official wiki section of the project
Licensed under the great GPLv3