Docker failed to pull image or slow

Docker failed to pull image or slow

Create or modify the /etc/docker/daemon.json file and modify it to the following form

# vi /etc/docker/daemon.json

The following address is changed to a domestic mirror address

{
    "registry-mirrors": ["http://hub-mirror.c.163.com"]
}
# systemctl restart docker.service

Domestic acceleration addresses are:

Docker China official mirror
https://registry.docker-cn.com

Netease
http://hub-mirror.c.163.com

USTC
https://docker.mirrors.ustc.edu.cn

University of Science and Technology of China
https://docker.mirrors.ustc.edu.cn

Alibaba Cloud Container Service
https://cr.console.aliyun.com/
Homepage, click "Create My Container Image" to get a dedicated image acceleration address, similar to "https://1234abcd.mirror.aliyuncs.com"

spare

Published 13 original articles · Like1 · Visit 2006

Guess you like

Origin blog.csdn.net/qq_31152023/article/details/105498530