首页 > 其他 > 详细

Docker pull下载出现 error pulling image configuration:

时间:2019-12-12 13:26:29      阅读:349      评论:0      收藏:0      [点我收藏+]
  • 出现这个问题,并且在错误信息的最后附带 net/http: TLS handshake timeout:
  • 猜测是docker的相关配置问题,导致无法通过TLS握手
  • 执行如下命令修改配置
echo "DOCKER_OPTS=\"\$DOCKER_OPTS --registry-mirror=http://f2d6cb40.m.daocloud.io\"" | sudo tee -a /etc/default/docker
  • 然后就能使用docker pull 拉取镜像了 (我未进行重启docker即可, 如果不行,systemctl restart docker 进行重启)

  • 不光是docker官网,也可以通过http找到其他镜像网站

Docker pull下载出现 error pulling image configuration:

原文:https://www.cnblogs.com/lz0925/p/12028296.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!