docker push 报错一:
<html>
<head></head>
<body>
"\n
<meta http-equiv="\"Content-Type\"" content="\"text/html;" charset="iso-8859-1\"" />\n
<title>ERROR: The requested URL could not be retrieved</title>\n
<style type="\"text/css\""><!--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="\"1px\"" />\n
<p>\nWhile trying to retrieve the URL:\n<a href="\"http://192.168.0.2:5000/v2/bm-hub/blobs/uploads/\"">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="\"mailto:email_addr\"">email_addr</a>. \n\n"</p>
</body>
</html>
报错的原因就是代理问题,因为设置的代理不能访问地址192.168.0.2。
你设置的代理可以从外网pull镜像下来,但是不能pull192.168.0.2个人仓库的镜像
解决方法:
设置no-proxy代理:将你的代理白名单添加进去。
还有一些报错后续补充