1. 使用docker拉取对应的镜像的时候报错:docker: error pulling image configuration: Get /registry-v2/docker/registry/v2/blobs/sha256/04/04540a0bb9853e0c23e03f0cfbde3fdbdb01590a663fe18860cb3425cd64aea8/data?verify=1703832355-UFgWc0cR%2BiTO%2BkcRi6YlKA%2BEVi4%3D: net/http: TLS handshake timeout.
2.百度了一下说要更新镜像仓库文件/etc/docker/我按照方法改成了:
# sudo vi /etc/docker/
{ "registry-mirrors": ["",""] }
# 重启docker
#sudo systemctl restart docker
3.再次进行拉取镜像文件报新的错误:
4. 网上百度了一下说是DNS的问题
修改这个文件并且增加新的nameserver 114.114.114.114
5.再次拉取镜像还是失败,然后又百度了一下说还是镜像仓库的问题多加几个下载源
#vim /etc/docker/ 将这个文件里面的内容清空替换成:
"registry-mirrors": [".",
"",
"",
".",
"",
""
]
# systemctl restart docker 重启docker
6.再次拉取镜像,拉取镜像成功
7.查看已有的镜像