第 10 章 使用镜像
10.1. 使用镜像概述 复制链接链接已复制到粘贴板!
要在 OpenShift Container Platform 中构建和部署容器化应用程序,您可以使用 Source-to-Image (S2I)、数据库和其他容器镜像。这些镜像提供在集群中运行应用程序所需的基本组件。
红帽官方容器镜像在 registry.redhat.io 的 Red Hat Registry 中提供。OpenShift Container Platform 支持的 S2I、数据库和 Jenkins 镜像在 Red Hat Quay Registry 的 openshift4 存储库中提供。例如,quay.io/openshift-release-dev/ocp-v4.0-< address> 是 OpenShift Container Platform 镜像的名称。
xPaaS 中间件镜像在 Red Hat Registry 上的产品存储库中提供,后缀为 a -openshift。例如,registry.redhat.io/jboss-eap-6/eap64-openshift 是 Red Hat JBoss Enterprise Application Platform (JBoss EAP)镜像的名称。
所有红帽支持的镜像都包括在 Red Hat Ecosystem Catalog 中。如需了解每个镜像的各种版本,请查看其内容和使用方法详情。
较新版容器镜像与较早版 OpenShift Container Platform 不兼容。根据您的 OpenShift Container Platform 版本,验证并使用正确的容器镜像版本。