在推到外部存储库之前,在哪里OpenShift容器平台存储图像

发布于 2025-02-06 16:48:47 字数 469 浏览 0 评论 0原文

在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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

荒岛晴空 2025-02-13 16:48:47

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文