This article guides you through the process of configuring Docker to pull images from a specific mirror, such as baidubce.com, instead of the default docker.io. The article also explains that the configuration may not work until you explicitly pull from the specified mirror.

even if you configure /etc/docker/daemon.json like this (note: you still need to do this):

1
2
3
4
{ "registry-mirrors":
["https://mirror.baidubce.com"]
}

it is not fully working until:

1
2
sudo -E docker pull mirror.baidubce.com/significantgravitas/auto-gpt

Comments