win10 home edition install docker.md

Install Docker Toolbox

1. Alibaba Cloud Mirror http://mirrors.aliyun.com/docker-toolbox/windows/docker-toolbox/
2. Description of the problem
3. After installing docker in win10, double-click the Docker Quickstart Terminal to run the program, as a result, Windows is looking for bash .exe.
4. Solution
5. Right-click the shortcut, select properties, and copy out "
C: \ Program Files \ Git \ bin \ bash.exe" in "Target " --login -i "D: \ Docker Toolbox \ start. sh "
find the local git installation path, and modify the copied content to your local file path
" D: \ Git \ bin \ bash.exe "--login -i" D: \ Docker Toolbox \ start.sh "

Verify whether the installation is successful

$docker run hello-world 

1. Log in to Alibaba Cloud and check the mirror address
https://cr.console.aliyun.com/cn-hangzhou/instances/mirrors
2. Configure the mirror accelerator
docker-machine create --engine-registry-mirror = https: // dnnuwdqd .mirror.aliyuncs.com -d virtualbox default
3. If "default" already exists, you can delete "default"
$ docker-machine rm default
4. View the machine's environment configuration and configure it locally, and access it through the Docker client Docker service.

docker-machine env default
eval "$(docker-machine env default)"
docker info

Install splash

docker pull scrapinghub/splash

Start splash

docker run -p 8050:8050 scrapinghub/splash

Automatic restart splash

docker run -d --restart always -p 8050:8050 scrapinghub/splash

Guess you like

Origin www.cnblogs.com/gqv2009/p/12677397.html