Docker下使用daocloud镜像加速(基于Centos6)
在 /etc/sysconfig/docker下添加或修改以下参数
other_args="--registry-mirror=http://74ecfe5d.m.daocloud.io"
OPTIONS="--registry-mirror=http://74ecfe5d.m.daocloud.io"
重启Docker服务,让配置生效:
/etc/init.d/docker restart
Stopping docker: [ OK ]
Starting docker: [ OK ]
Tip:
发现不是所有镜像都可以加速,目前certbot/certbot(2017/8/9)就无法找到
docker pull certbot/certbot
Pulling repository certbot/certbot
Repository not found
提供个新的地址(2017/8/9)https://u1qbyfsc.mirror.aliyuncs.com,可以暂时替换上面的加速地址
other_args="--registry-mirror=http://74ecfe5d.m.daocloud.io"
OPTIONS="--registry-mirror=http://74ecfe5d.m.daocloud.io"
重启Docker服务,让配置生效:
/etc/init.d/docker restart
Stopping docker: [ OK ]
Starting docker: [ OK ]
Tip:
发现不是所有镜像都可以加速,目前certbot/certbot(2017/8/9)就无法找到
docker pull certbot/certbot
Pulling repository certbot/certbot
Repository not found
提供个新的地址(2017/8/9)https://u1qbyfsc.mirror.aliyuncs.com,可以暂时替换上面的加速地址
此日志的引用通告 URL:
http://www.imx365.net/blog/tb.cgi/22259
其实我一直都不知道您在想些什么,有什么感触。说真的,您的评论对于我来说很重要...
还没有人评论过
发表评论

(访客)