Created
September 7, 2016 14:18
-
-
Save juampynr/c5ea40b867e71c80f7d769993c6771a0 to your computer and use it in GitHub Desktop.
Drupal & Docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Based on https://blog.wodby.com/6-reasons-to-deploy-drupal-8-with-docker-how-to-guide-b2f073e61672#.ie28tqlgw | |
docker pull mariadb | |
docker pull drupal:8.1 | |
docker run -e MYSQL_ROOT_PASSWORD=admin -e MYSQL_DATABASE=drupal8 -e MYSQL_USER=drupal8 -e MYSQL_PASSWORD=drupal8 -v mariadb:/var/lib/mysql -d --name mariadb mariadb | |
docker run --name drupal8 --link mariadb:mysql -p 81:80 -d drupal:8.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment