Used docker all know, in the pull image, using the default repository download, is very slow, the country provides a lot of proxy mirror site, you can use. If you look it up, it’s all from the old version, as follows:
Let you add some domestic mirror to Daemon.
But the new version looks like this:
I looked almost everywhere on the Internet and couldn’t find the new version, so I started thinking…
Next operation:
- Click on Docker Engine as shown:
Add to the input box
"registry-mirrors": [
"https://docker.mirrors.ustc.edu.cn"// From a higher university in China"https://hub-mirror.c.163.com"// netease]Copy the code
- Click Apply & Restart to Restart
- At this point you can enter commands at the terminal
docker info
When you see this, the proxy is successful!