目录
1 问题
Error response from daemon: Get “https://registry-1.docker.io/v2/”: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
2 解决办法
touch /etc/docker/daemon.json
chmod 777 -R /etc/docker/daemon.json
vim /etc/docker/daemon.json
{
"registry-mirrors": ["https://docker-proxy.741001.xyz","https://registry.docker-cn.com"]
}
systemctl restart docker
systemctl daemon-reload
systemctl restart docker
systemctl daemon-reload
docker pull tomcat
3 后记
丫的,终于成功了,我百度了一上午,各种方法都试了,都没成功,万万想不到阿里,我竟然觉得阿里不行。今天下午睡醒,很高兴刷到了这个up的方法,链接给到这里啦!
https://blog.csdn.net/weixin_46028606/article/details/142663559
中午吃的小馄饨也太好吃了叭,我发现自己挺爱吃醋的。我宣布香蕉统治世界,太爱了!
自己学习docker哎,我太喜欢自己了,一直在学习
ok,BB,如果我的文档对您有用的话,给我点点赞赞~
谢谢!
标签:daemon,io,systemctl,registry,https,docker,net From: https://blog.csdn.net/m0_52592128/article/details/142921772