【发布时间】:2019-01-03 17:10:32
【问题描述】:
我是 docker 新手,为 windows 10 安装了 docker:版本 18.06.0-ce,构建 0ffa825
我尝试执行第一个 docker pull 命令,但没有成功,我在公司代理旁边,与 docker 服务器的连接工作正常。 这是我得到的:
PS C:\WINDOWS\system32> docker pull microsoft/nanoserver
Using default tag: latest
Error response from daemon: Get https://registry-1.docker.io/v2/: Forbidden.
当我在浏览器上调用链接 https://registry-1.docker.io/v2/ 时,我得到:
{"errors":[{"code":"UNAUTHORIZED","message":"authentication required","detail":null}]}
编辑:
更改代理地址后:
来自守护程序的错误响应:获取https://registry-1.docker.io/v2/:需要代理身份验证
我和windows docker behind a corporate proxy: 一样,但我仍然面临同样的问题。
【问题讨论】:
-
这是一个公司代理问题导致此错误。
-
我们该如何解决?
-
可以使用cntlm认证代理
标签: docker proxy windows-10