[英]docker pull/push not working with insecure registry
我安装了docker工具箱,我正在尝试连接到我的私人注册表。
我在/var/lib/boot2docker/profile
添加了以下内容
EXTRA_ARGS='
--label provider=virtualbox --insecure-registry http://myregistry.com:80
'
我能够成功登录注册表。 但是当我尝试从/向注册表拉/推时,我收到以下错误。
Error response from daemon: unable to ping registry endpoint
https://myregistry.com:80/v0/ v2 ping attempt failed with error: Get
https://myregistry.com:80/v2/: tls: oversized record received with
length 20527 v1 ping attempt failed with error: Get
https://myregistry.com:80/v1/_ping: tls: oversized record received
with length 20527
任何帮助,将不胜感激。 谢谢
我能够解决这个问题。
代替
--insecure-registry http://myregistry.com:80
我做到了
--insecure-registry=myregistry.com
它起作用了
在问题958中 ,调试的主要方法是在debug中运行守护进程docker:
docker -D -d
在您的情况下,无法联系v2注册表,然后尝试v1,给出您看到的错误。
日志应该告诉你更多。
确保您已按照部署纯HTTP注册表进行操作 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.