我无法使用以下命令拉取 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 存储库的链接,它会要求输入用户名和密码。我怎样才能得到这张图片。
我是按照 Artifactory 的官方链接来做这件事的。 https://www.jfrog.com/confluence/display/RTF/Running+with+Docker .我在网上搜索但没有解决方案。
最佳答案
2017 年更新:the documentation现在提到:
docker pull docker.bintray.io/jfrog/artifactory-pro:latest
参见“JFrogDev/artifactory-docker-examples
issue 1”,2017 年 2 月:
You should use the
docker.bintray.io
tag.
It's simply an alias tofrog-docker-reg2.bintray.io
, so you can't go wrong.
关于docker - 拉人工 docker 图像,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34824842/