- 下载基础镜像 Centos ,docker pull centos 到本地一直报错
Error response from daemon: Get https://registry-1.docker.io/v2/library/centos/manifests/latest: Get https://auth.docker.io/token?scope=repository%3Alibrary%2Fcentos%3Apull&service=registry.docker.io: dial tcp: lookup auth.docker.io on 127.0.0.53:53: server misbehaving
- 解决方法如下:
a:通过dig @114.114.114.114 registry-1.docker.io
找到可用IP
b:尝试修改/etc/hosts
强制docker.io相关的域名解析到其它可用IP,上面选一个即可
Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker
最新推荐文章于 2024-07-25 17:57:15 发布