docker pull centos出错

现象描述
# docker pull centos
latest: Pulling from centos

3690474eb5b4: Pulling fs layer 
b200b2d33d98: Pulling fs layer 
3fbd5972aaac: Pulling fs layer 
Pulling repository centoslayer 
Repository not found

下载镜像时出错,不是 Repository not found就是timeout,尝试屡次仍未解决。
说明:系统为centos 6.7
尝试
1 因而yum update升级了一下系统,屡次尝试后还是报错。

2 因而检查了一下/etc/yum.repo.d/发现yum update时生成了好多repo文件(原本使用的是阿里的yum源),因而把刚才生成的repo移除后,执行
# docker pull centos:latest 
latest: Pulling from centos
3690474eb5b4: Pull complete 
b200b2d33d98: Downloading [========>                                          ] 11.35 MB/70.58 MB
3fbd5972aaac: Download complete 
d83a55af4e75: Download complete 
d83a55af4e75: Pulling fs layer

虽然像蜗牛同样缓慢,可是仍是没有报错。

疑问
    也许执行docker pull centos:latest会依赖yum源,毕竟阿里的比系统的yum源快得多。
    问题虽然是解决了,但真正的缘由是否是在这,我不知道。
    分享出来和你们一块儿探讨。






相关文章
相关标签/搜索