简体   繁体   English

来自守护程序的错误响应:获取https://registry-1.docker.io/v2/:禁止

[英]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 : 在下面找到我遵循的步骤:

  1. install the cntlm from : cntlm.sourceforge.net 从以下位置安装cntlm:cntlm.sourceforge.net
  2. 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 :实际域名

  1. finally you can execute : docker pull 最后,您可以执行:docker pull

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 docker:来自守护进程的错误响应:获取 https://registry-1.docker.io/v2/:proxyconnect tcp:EOF - docker: Error response from daemon: Get https://registry-1.docker.io/v2/: proxyconnect tcp: EOF docker 来自守护程序的错误响应:获取“https://registry-1.docker.io/v2/”:proxyconnect tcp - docker Error response from daemon: Get "https://registry-1.docker.io/v2/": proxyconnect tcp Docker:来自守护进程的错误响应:获取 https://registry-1.docker.io/v2/:EOF - Docker: Error response from daemon: Get https://registry-1.docker.io/v2/: EOF 来自守护进程的错误响应:获取 https://registry-1.docker.io/v2/:需要代理身份验证 - Error response from daemon: Get https://registry-1.docker.io/v2/: Proxy Authentication Required 来自守护程序的错误响应:获取 https://registry-1.docker.io/v2/:拨打 tcp:在 192.168.65.1:53 上查找 registry-1.docker.io:没有这样的主机 - Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on 192.168.65.1:53: no such host docker:来自守护程序的错误响应:获取 https://registry-1.docker.io/v2/:服务不可用。 IN Z469A31FD9D773110F14057BAECCDDD25Z,MAC - docker: Error response from daemon: Get https://registry-1.docker.io/v2/: Service Unavailable. IN DOCKER , MAC Docker:来自守护程序的错误响应:获取 https://registry-1.docker.io/v2/:.net/http: 请求在等待连接时被取消 - Docker: Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection docker 提示: 来自守护进程的错误响应:Get https://registry-1.docker.io/v2/: x509: certificate is valid for - docker hint: Error response from daemon: Get https://registry-1.docker.io/v2/: x509: certificate is valid for 来自守护进程的错误响应:获取 https://registry-1.docker.io/v2/:远程错误:tls:握手失败 - Error response from daemon: Get https://registry-1.docker.io/v2/: remote error: tls: handshake failure 来自守护进程的错误响应:获取“https://registry-1.docker.io/v2/”:net/http:在等待连接时取消请求 - Error response from daemon: Get "https://registry-1.docker.io/v2/": net/http: request canceled while waiting for connection
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM