[程序员] Docker 网络问题, 求大神看一眼
Link Share :https://www.v2ex.com/t/637307#reply13
- via RSS
我用的 docker for windows,配置了国内的镜像加速,之前用的好好的,现在却没法 pull 镜像。
docker info
Registry Mirrors:
https://docker.mirrors.ustc.edu.cn/
Live Restore Enabled: false
Product License: Community Engine
运行
$ docker pull hello-world
Using default tag: latest
Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on 192.168.65.1:53: read udp 192.168.65.3:58769->192.168.65.1:53: i/o timeout
这个命令每次报的错还不太一样,但都是跟<https://registry-1.docker.io/v2/>
这个地址 ping 不通有关。
这跟我用的网络提供商是移动有关吗?
是不是不管配置不配置国内镜像加速,都会走那个地址去验证些东西?我试过手动指定下载地址,但是卡在验证文件完整性上。
$ docker pull docker.mirrors.ustc.edu.cn/library/kong:0.13
0.13: Pulling from library/kong
5a3ea8efae5d: Pulling fs layer
94ba7d7143a3: Pulling fs layer
da453abf4e53: Pulling fs layer
da453abf4e53: Verifying Checksum
da453abf4e53: Download complete
94ba7d7143a3: Download complete
5a3ea8efae5d: Retrying in 5 seconds
5a3ea8efae5d: Retrying in 4 seconds
5a3ea8efae5d: Retrying in 3 seconds
5a3ea8efae5d: Retrying in 2 seconds
5a3ea8efae5d: Retrying in 1 second
5a3ea8efae5d: Retrying in 10 seconds
5a3ea8efae5d: Retrying in 9 seconds
5a3ea8efae5d: Retrying in 8 seconds
5a3ea8efae5d: Retrying in 7 seconds
5a3ea8efae5d: Retrying in 6 seconds
5a3ea8efae5d: Retrying in 5 seconds
5a3ea8efae5d: Retrying in 4 seconds
作者暂无likerid, 赞赏暂由本网站代持,当作者有likerid后会全部转账给作者(我们会尽力而为)。
Tips: Until now, everytime you want to store your article, we will help you store it in Filecoin network. In the future, you can store it in Filecoin network using your own filecoin.
Support author:
Author's Filecoin address:
Or you can use Likecoin to support author: