【发布时间】:2017-07-19 11:36:27
【问题描述】:
我用
推送了一个本地 Docker 镜像docker push bspartifact.artifactory.example.com/bspartifact:1.0
到我的私人 Docker 中心。我现在如何将该映像部署到 Cloud Foundry?回购通过使用用户名和密码的基本身份验证来保护。谢谢。
编辑:
尝试 --docker-username 标志会导致以下错误:
Staging...
Staging process started ...
Failed to talk to docker registry: Get https://bspartifact.artifactory.example.com/v2/: dial tcp 10.xx.xxx.xxx:443: getsockopt: connection refused
Failed to talk to docker registry: Get http://bspartifact.artifactory.example.com/v2/: dial tcp 10.xx.xxx.xxx:80: getsockopt: connection refused
【问题讨论】:
-
你
docker login给你的注册伙伴了吗? -
是的,我做到了。我还尝试了 --docker-username ,如下面的答案中所述。
-
告诉我们
docker -v -
Docker 版本 17.03.1-ce,构建 c6d412e
标签: docker cloud-foundry artifactory dockerhub swisscomdev