在推到外部存储库之前,在哪里OpenShift容器平台存储图像
在OCP上构建后,我想将Docker图像推到Nexus。这就是我使用的
output:
to:
kind: DockerImage
name: 'nexus.compnanyhost/image:latest'
它返回
error pinging docker registry nexus.compnanyhost/image:latest
我无法打开全范围的端口,因此我需要精确知道存储图像在推到外部存储库之前,也许是如何找到OCP ping到Nexus的端口
I want to push a docker image to nexus after built on OCP. This is what I use
output:
to:
kind: DockerImage
name: 'nexus.compnanyhost/image:latest'
and it returns
error pinging docker registry nexus.compnanyhost/image:latest
I can't open a full range of ports so I need to know precisely where the store image is before pushing to the external repository and maybe how to find the port that OCP ping to nexus
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Docker映像是从构建正在运行的节点上推动的。
您可以在buildConfig上放置一个特定的节点选择器,以确保源IP始终相同。
下午
The docker image is pushed from the node where the build is running.
You can put a specific node-selector on buildconfig to ensure the source ip is always the same.
pm