Docker报错下载镜像慢_报net/http: TLS handshake timeout

进入目录  /etc/docker

新建daemon.json

加入阿里云加速地址

 

{
"registry-mirrors":["https://6kx4zyno.mirror.aliyuncs.com","http://hub-mirror.c.163.com","https://pee6w651.mirror.aliyuncs.com","https://registry.docker-cn.com"]
}

 

然后

systemctl daemon-reload
systemctl restart docker

posted @ 2022-09-20 14:23  杨斌_济南  阅读(76)  评论(0编辑  收藏  举报