[容器]gcr.io镜像下载

下载gcr.io的镜像hosts文件 
把下面两行加入到/etc/hosts中。

更多在这里http://wst.so/files/hosts

61.91.161.217 gcr.io
61.91.161.217 www.gcr.io

如果使用Centos7在kubernetes 1.5集群安装时用官网yum无法下载,可以尝试使用下面的yum源。此yum源由个人(一位大神,不是我)维护,cdn流量有限,请误疯狂下载,使用时最好先用 yumdownloader 工具将 rpm 下载到本地安装。(谢谢)

cat <<EOF> /etc/yum.repos.d/kubernetes.repo
[mritdrepo]
name=Mritd Repository
baseurl=https://yum.mritd.me/centos/7/x86_64
enabled=1
gpgcheck=1
gpgkey=https://cdn.mritd.me/keys/rpm.public.key
EOF

 

文章来自:http://www.cnblogs.com/iiiiher/p/6655350.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3