docker - 拉人工 docker 图像

标签 docker artifactory bintray

我无法使用以下命令拉取 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 to frog-docker-reg2.bintray.io, so you can't go wrong.

关于docker - 拉人工 docker 图像,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34824842/

相关文章:

android - 如何使用 gradle bintray 插件将模块上传到 JCenter?

python - watchdog.observers.Observer 在 Windows 中工作,在 Linux 上的 docker 中工作,在 Windows 上的 docker 中不起作用

linux - 定义的 Linux 发行版的哪些命令在 Docker 容器中可用?

authentication - 无法登录私有(private) docker registry

artifactory - 如何使用 jfrog cli 重新计算 repo 的索引?

android - 使用未发布的 bintray Artifact

android - ateUpload到Bintray错误:app:compileDebugUnitTestJavaWithJavac

docker - gitlab ci/cd 转轮卡住了

docker - 在 docker 中托管后无法访问 .net core api URL

android - 通过 Gradle 构建将 Android AAR 库部署到 Artifactory 失败并出现错误 "Error deploying artifact: Error transferring file"