我推了当地码头工人形象与如何从Cloud Foundry上的私有存储库部署Docker镜像?
docker push bspartifact.artifactory.example.com/bspartifact:1.0
我的私人码头工人枢纽。我现在如何将该映像部署到Cloud Foundry?回购利用用户名和密码进行基本认证。谢谢。
编辑:
尝试--docker户名标志导致以下错误:
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-username,如下面的答案中所述。 – user3080315
告诉我们'docker -v' –