Docker For Windows
Right-click the docker icon in the status bar in the lower right corner of the desktop, modify the json in the Docker Daemon tab, and put the following address:
http://04992126.m.daocloud.ioCopy
Add to the "registry-mirrors" array. Click Apply.
For configuration methods such as Docker Toolbox, please refer to the help documentation .
Docker Toolbox
(The docker toolbox is not recommended, it is recommended to use the new docker for mac and docker for windows to run docker on these two platforms)
Please confirm that your Docker Toolbox has been started, and execute the following commands (please replace the acceleration address with the dedicated address obtained on the accelerator page)
docker-machine ssh default sudo sed -i "s|EXTRA_ARGS='|EXTRA_ARGS='--registry-mirror=加速地址 |g" /var/lib/boot2docker/profile exit docker-machine restart default