[英]Error response from daemon: Get https://registry-1.docker.io/v2/: Forbidden
i am new to docker ,installed docker for windows 10 : version 18.06.0-ce, build 0ffa825 我是Docker的新手,为Windows 10安装了Docker : 版本18.06.0-CE,内部版本0ffa825
i tried to execute the first docker pull command but it doesn't succeed , i am beside a corporate proxy and the connection to docker server is working fine . 我试图执行第一个docker pull命令,但没有成功,我在公司代理旁边,并且与docker服务器的连接工作正常。 here is what i got :
这是我得到的:
PS C:\\WINDOWS\\system32> docker pull microsoft/nanoserver Using default tag: latest Error response from daemon: Get https://registry-1.docker.io/v2/: Forbidden
. PS C:\\WINDOWS\\system32> docker pull microsoft/nanoserver Using default tag: latest Error response from daemon: Get https://registry-1.docker.io/v2/: Forbidden
。
when i call the link https://registry-1.docker.io/v2/ on the browser i get: 当我在浏览器上调用链接https://registry-1.docker.io/v2/时,我得到:
{"errors":[{"code":"UNAUTHORIZED","message":"authentication required","detail":null}]} {“错误”:[{“代码”:“未经授权”,“消息”:“需要验证”,“详细信息”:空}]}}
edit : 编辑:
after changing the proxy address i had : 更改代理地址后,我有:
Error response from daemon: Get https://registry-1.docker.io/v2/ : Proxy Authentication Required 来自守护程序的错误响应:获取https://registry-1.docker.io/v2/ :需要代理身份验证
i have followed the same as windows docker behind a corporate proxy : ,but still i facing the same issue. 我遵循与企业代理后面的Windows docker相同的方法:,但我仍然面临相同的问题。
The normal solution to this is just docker logout
, that's solved it every time anybody I know has it it. 正常的解决方案是
docker logout
,每次我认识的人都解决了。 Somehow docker gets its credentials out of order or something. 码头工人以某种方式弄乱了其凭据。
After a lot of search i solved the issue by following this step , it may work or not depending on you corporate proxy. 经过大量搜索后,我按照以下步骤解决了该问题,根据您的公司代理人,它是否可能起作用。
find bellow the steps i followed : 在下面找到我遵循的步骤:
connect to your corporate web proxy using this command : 使用以下命令连接到公司的Web代理:
cntlm -H -u username -d domainname . cntlm -H -u用户名-d域名。
username :your domain/proxy account name 用户名 :您的域/代理帐户名
domainname : the actual domain name domainname :实际域名
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.