我安裝碼頭工具箱,我想連接到我的私人註冊表。碼頭拉/推不工作與不安全的註冊表
我增加了以下內容/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
任何幫助,將不勝感激。由於
感謝@VonC。問題是,當我登錄它使用「http://」,當我拉它使用「https://」。我不知道爲什麼。我不知道我錯過了什麼。 –
@ShriramSharma這讓我想起了https://github.com/docker/distribution/issues/1028#issuecomment-148958771和https://github.com/docker/docker/issues/17317,但是你沒有nginx在你的設置中,是嗎? – VonC
不,我沒有nginx –