我推送了一个本地 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