If you are in China and your docker pull kept failing/retrying, try editing your docker daemon.json
.
The default location for linux is at /etc/docker/daemon.json
.
|
|
Then restart docker service with:
|
|
To check if it is correct, run docker info | grep -A1 'Registry Mirrors:'
If you can understand Chinese it is better to just go to the website directly and learn, dockerproxy.com
Another registry mirror that you can use (at this time of writing):