【发布时间】:2018-08-09 03:17:11
【问题描述】:
我收到以下错误
docker拉openjdk
Using default tag: latest
Pulling repository docker.io/library/openjdk
Error while pulling image: Get https://index.docker.io/v1/repositories/library/openjdk/images: EOF
我已经分别在 /etc/systemd/system/docker.service.d/http-proxy.conf 和 /etc/systemd/system/docker.service.d/https-proxy.conf 中设置了 HTTP_PROXY 和 HTTPS_PROXY。
我仍然无法从 docker hub 中提取任何图像。
以下是 docker 版本输出 客户: 版本:1.12.6 API版本:1.24 围棋版本:go1.6.4 Git 提交:78d1802 建成时间:2017 年 1 月 10 日星期二 20:20:01 操作系统/架构:linux/amd64
服务器: 版本:1.12.6 API版本:1.24 围棋版本:go1.6.4 Git 提交:78d1802 建成时间:2017 年 1 月 10 日星期二 20:20:01 操作系统/架构:linux/amd64
【问题讨论】:
-
您在代理字符串中设置了用户名/密码吗?
-
是的! https://:@
: -
您的密码是否包含任何需要百分比编码的特殊字符? (en.wikipedia.org/wiki/Percent-encoding#Character_data)
-
yes 密码包含一个用 %24 编码的 $ 百分比
-
在http_proxy中IP的值应该是多少?是VM IP还是其他。由于我的用户名和密码是正确的,唯一的嫌疑人是在 IP 附近
标签: docker dockerfile docker-registry dockerhub docker-proxy