2
我已經創建了碼頭工人的私人寄存在我的本地"10.234.1.254"
如果我標記的圖像作爲10.234.1.254:5000/hello-world
並嘗試從另一個VM推到註冊表中正在運行的虛擬機 - 失敗下面的錯誤不能推泊塢窗圖像泊塢窗私有註冊
The push refers to a repository [10.234.1.254:5000/hello-world]
unable to ping registry endpoint https://10.234.1.254:5000/v0/
v2 ping attempt failed with error: Get https://10.234.1.254:5000/v2/: EOF
v1 ping attempt failed with error: Get https://10.234.1.254:5000/v1/_ping: EOF
我甚至試圖把DOCKER_OPTS="--insecure-registry 10.234.1.254:5000"
在/etc/default/docker
並重新啓動搬運工服務。但是我仍然得到同樣的錯誤。
我如何使用私人碼頭註冊表的IP地址和端口來標記圖像並推送它?
你運行'泊塢窗登錄10.234.1.254:5000'第一? – BMW
@BMW當我從docker客戶端運行登錄命令時,我得到:來自守護進程的錯誤響應:無效的註冊表端點https://10.234.1.254:5000/v0/:無法ping通註冊表端點https://10.234.1.254:5000/v0/ v2 ping嘗試失敗,出現錯誤:獲取https://10.234.1.254:5000/v2/:EOF – sravis
是docker客戶端和docker註冊表服務器上不同或相同的docker版本?本地的 – BMW