docker复位拉取镜像connection失败的问题
docker pull 时提示
docker pull ubuntu:16.04
Trying to pull repository docker.io/library/ubuntu ...
Get https://registry-1.docker.io/v2/library/ubuntu/manifests/sha256:dd7808d8792c9841d0b460122f1acf0a2dd1f56404f8d1e56298048885e45535: Get https://auth.docker.io/token?scope=repository%3Alibrary%2Fubuntu%3Apull&service=registry.docker.io: read tcp *.*.*.*:41348->50.17.62.194:443: read: connection reset by peer
输入 dig auth.docker.io 查看可用ip

在host中配置即可 registry-1.docker.io auth.docker.io

虽然道路是曲折的,但前途是光明的。

浙公网安备 33010602011771号