1, download dockertoolbox, optional daocloud or official website download
https://get.daocloud.io/toolbox/
2, configure the virtual machine path environment variable, avoid the system C disk, Occupy space
Machine_storage_path=d:\dockermachine
3, run Docker Quickstart Terminal
If the run fails, you need to enter the BIOS to turn on the CPU virtualization feature
4,docker Domestic image acceleration, sudo vi, otherwise cannot be saved
sudo vi/etc/docker/daemon.json
{
"Registry-mirrors": [
Http://18817714.m.daocloud.io
]
}
5, $GOPATH environment variable configuration to user directory
Dockertoolbox will map the user directory by default, gitbash:ls–l/c/users
Non-user directories need to be configured manually, otherwise volumns will error: Bash Script.sh:File not exist or is a directory
Gotpath=c:\users\administrator\go
6, install Git and MinGW
Windows has a lot of pits, you can consider Linux systems, or remotely develop
7,docker port mapping or access Denied issue: Refuse connection
Workaround: Add Port forwarding
Sweat!
Docker Toolbox on Windows 7