forked from laradock/laradock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreadme.txt
26 lines (18 loc) · 1.11 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Windows fix troubles with Docker (virtualization)
https://docs.docker.com/docker-for-windows/troubleshoot/#virtualization-must-be-enabled
# How to enable Hyper-V on Windows for Docker
https://docs.microsoft.com/en-us/virtualization/hyper-v-on-windows/quick-start/enable-hyper-v
# IF solutions not work with Hyper-V
1. https://stackoverflow.com/questions/39684974/docker-for-windows-error-hardware-assisted-virtualization-and-data-execution-p
2. https://blogs.technet.microsoft.com/canitpro/2015/09/08/step-by-step-enabling-hyper-v-for-use-on-windows-10/
# How to add ssh key pn Windows
https://stackoverflow.com/a/18683544
# Windows auto-launch ssh keys on open GitBash
https://help.github.com/en/github/authenticating-to-github/working-with-ssh-key-passphrases#auto-launching-ssh-agent-on-git-for-windows
# Run laradock commands with "winpty" on the beginning
winpty docker-compose exec mariadb bash
# Windows fix bash error: $'\r': command not found
# One time need to do for file
sed -i 's/\r$//' bash_scripts/composer_dev_install.sh
#Then you can run as usually, but without an error
bash bash_scripts/composer_dev_install.sh