2015-12-14 34 views
0

我使用由nginx備份的Artifactory作爲代理服務器。 nginx負載平衡器使用來自可信機構的SSL證書進行配置。我創建了一個當地碼頭工人回購和需要推動的圖像,但出現以下錯誤:Docker推送到Artifactory失敗 - 無法ping分割端點

unable to ping registry endpoint https://myArtifactory.com/v0/ 
v2 ping attempt failed with error: Get https://myArtifactory.com/v2/: x509: certificate signed by unknown authority 
v1 ping attempt failed with error: Get https://myArtifactory.com/v1/_ping: x509: certificate signed by unknown authority 

我使用下面的命令來推圖像

docker push myArtifactory.com/ubuntu 

回答

0

修正這個BYA證書dding到泊塢窗客戶端在/etc/docker/certs.d下。