3

我无法使用以下命令提取 Artifactory docker 映像

docker pull jfrog-docker-reg2.bintray.io/jfrog/artifactory-pro:latest

它最终出现以下错误

Error response from daemon: invalid registry endpoint https://jfrog-docker-reg2.bintray.io/v0/: unable to ping registry endpoint https://jfrog-docker-reg2.bintray.io/v0/
v2 ping attempt failed with error: Get https://jfrog-docker-reg2.bintray.io/v2/: dial tcp 119.81.184.206:443: i/o timeout
 v1 ping attempt failed with error: Get https://jfrog-docker-reg2.bintray.io/v1/_ping: dial tcp 119.81.184.206:443: i/o timeout. If this private registry supports only HTTP or HTTPS with an unknown CA certificate, please add `--insecure-registry jfrog-docker-reg2.bintray.io` to the daemon's arguments. In the case of HTTPS, if you have access to the registry's CA certificate, no need for the flag; simply place the CA certificate at /etc/docker/certs.d/jfrog-docker-reg2.bintray.io/ca.crt

我要在这里做什么?为什么它要求证书?如果我访问 JFrog repo 的链接,它会要求输入用户名和密码。我怎样才能得到这个图像。

我正在关注 Artifactory 的官方链接来执行此操作。https://www.jfrog.com/confluence/display/RTF/Running+with+Docker。我在网上搜索但没有解决方案。

4

1 回答 1

3

2017 年更新:文档现在提到:

docker pull docker.bintray.io/jfrog/artifactory-pro:latest 

参见 2017 年 2 月的“JFrogDev/artifactory-docker-examples问题 1 ”:

你应该使用docker.bintray.io标签。
它只是 的别名frog-docker-reg2.bintray.io,所以你不会出错。

于 2017-12-10T10:52:42.423 回答