Skip to content

Instantly share code, notes, and snippets.

@deepakaryan1988
Last active June 23, 2021 16:38
Show Gist options
  • Save deepakaryan1988/ae006bff7ef1b633f94580a4aac406f5 to your computer and use it in GitHub Desktop.
Save deepakaryan1988/ae006bff7ef1b633f94580a4aac406f5 to your computer and use it in GitHub Desktop.
Docker4drupal Instruction
1. Enable virtualisation from BIOS setting
2. Install docker desktop
3. Disable WSL2 and share your drive or folder from docker setting
4. Enable Hyper-v from windows setting
5. copy all the files docker4drupal to your drupal folder(most probably outside your web)
6. comment mariadb syntax from docker-composer.yml
7. Install mariadb on your windows separately.
8. run docker-compose up -d
9. put your URL in hosts file
10. change the mysql host entry(host.docker.internal) in your settings.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment