docker pull is very slow to solve

When the image is often pulled slowly or cannot be pulled down, you can use the Alibaba Cloud Mirror Accelerator here, and then try to see if it works.
Use the Alibaba Cloud Mirror Accelerator.

When Alibaba Cloud mirroring is not used:

You are stuck here.

Create a daemon.json file under the /etc/docker directory:

The content is as follows:

{
 "registry-mirrors": ["https://9cpn8tt6.mirror.aliyuncs.com"]
}

After saving, restart the docker service:

 

 Next we re-execute docker pull:

It was executed very quickly.

 

Guess you like

Origin blog.csdn.net/lchmyhua88/article/details/107633370