docker pull/push报错记录

docker push 报错一:

<html>
 <head></head>
 <body>
  &quot;\n
  <meta http-equiv="\&quot;Content-Type\&quot;" content="\&quot;text/html;" charset="iso-8859-1\&quot;" />\n
  <title>ERROR: The requested URL could not be retrieved</title>\n
  <style type="\&quot;text/css\&quot;"><!--BODY{background-color:#ffffff;font-family:verdana,sans-serif}PRE{font-family:sans-serif}--></style>\n\n
  <h1>ERROR</h1>\n
  <h2>The requested URL could not be retrieved</h2>\n
  <hr noshade="" size="\&quot;1px\&quot;" />\n
  <p>\nWhile trying to retrieve the URL:\n<a href="\&quot;http://192.168.0.2:5000/v2/bm-hub/blobs/uploads/\&quot;">http://192.168.0.2/v2/project/blobs/uploads/</a>\n</p>
  <p>\nThe following error was encountered:\n</p>
  <ul>
   \n
   <li>\n<strong>\nAccess Denied.\n</strong>\n<p>\nAccess control configuration prevents your request from\nbeing allowed at this time. Please contact your service provider if\nyou feel this is incorrect.\n</p></li>
  </ul>\n
  <p>Your cache administrator is <a href="\&quot;mailto:email_addr\&quot;">email_addr</a>. \n\n&quot;</p>
 </body>
</html>

报错的原因就是代理问题,因为设置的代理不能访问地址192.168.0.2。

你设置的代理可以从外网pull镜像下来,但是不能pull192.168.0.2个人仓库的镜像

解决方法:

设置no-proxy代理:将你的代理白名单添加进去。

还有一些报错后续补充

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值