我安装了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
任何帮助,将不胜感激.谢谢
最佳答案
我能够解决这个问题.
原文链接:https://www.f2er.com/docker/435822.html代替
--insecure-registry http://myregistry.com:80
我做到了
--insecure-registry=myregistry.com
它起作用了