[英]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.