Red Hat Training

A Red Hat training course is available for OpenShift Container Platform

2.7.3. 镜像

根据您的需要,这些镜像分为两种类型:

  • RHEL 7
  • CentOS 7

基于 RHEL 7 的镜像

RHEL 7 镜像可以通过 Red Hat Registry 提供:

$ docker pull registry.redhat.io/rhscl/python-27-rhel7
$ docker pull registry.redhat.io/openshift3/python-33-rhel7
$ docker pull registry.redhat.io/rhscl/python-34-rhel7
$ docker pull registry.redhat.io/rhscl/python-35-rhel7

基于 CentOS 7 的镜像

这些镜像在 Docker Hub 上可用:

$ docker pull centos/python-27-centos7
$ docker pull openshift/python-33-centos7
$ docker pull centos/python-34-centos7
$ docker pull centos/python-35-centos7

要使用这些镜像,您可直接从镜像 registry 访问镜像,或将其推送(push)到 OpenShift Container Platform 容器镜像 registry 中。另外,您还可在容器镜像 registry 或外部位置创建一个指向镜像的 ImageStream。然后,OpenShift Container Platform 资源便可引用 ImageStream。您可以找到所有提供的 OpenShift Container Platform 镜像的示例镜像流定义