Docker推送到Artifactory失败 - 无法ping resgistry端点

时间:2015-12-14 21:14:08

标签: ssl nginx docker artifactory

我正在使用由nginx备份的Artifactory作为代理服务器。 nginx负载均衡器配置了来自受信任机构的SSL证书。我创建了一个本地docker repo并需要推送图像但是出现以下错误:

<a href="#_" class="lightbox" id="img4"><img src="image/url"></a>

我使用以下命令推送图片

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

1 个答案:

答案 0 :(得分:0)

通过将证书发送到/etc/docker/certs.d下的docker客户端来解决此问题