7.2.2. 获取镜像
拉取所需的容器镜像:
启动 Docker 守护进程:
$ systemctl start docker
拉取所有所需的 OpenShift Container Platform 基础架构组件镜像。将
<tag>
替换为要安装的版本。例如,为最新版本指定v3.11.634
。您可以指定不同的次版本。如果使用容器化安装程序,除了拉取这些所需镜像外,还需要拉取registry.redhat.io/openshift3/ose-ansible:v3.11
:$ docker pull registry.redhat.io/openshift3/apb-base:<tag> $ docker pull registry.redhat.io/openshift3/apb-tools:<tag> $ docker pull registry.redhat.io/openshift3/automation-broker-apb:<tag> $ docker pull registry.redhat.io/openshift3/csi-attacher:<tag> $ docker pull registry.redhat.io/openshift3/csi-driver-registrar:<tag> $ docker pull registry.redhat.io/openshift3/csi-livenessprobe:<tag> $ docker pull registry.redhat.io/openshift3/csi-provisioner:<tag> $ docker pull registry.redhat.io/openshift3/grafana:<tag> $ docker pull registry.redhat.io/openshift3/kuryr-controller:<tag> $ docker pull registry.redhat.io/openshift3/kuryr-cni:<tag> $ docker pull registry.redhat.io/openshift3/local-storage-provisioner:<tag> $ docker pull registry.redhat.io/openshift3/manila-provisioner:<tag> $ docker pull registry.redhat.io/openshift3/mariadb-apb:<tag> $ docker pull registry.redhat.io/openshift3/mediawiki:<tag> $ docker pull registry.redhat.io/openshift3/mediawiki-apb:<tag> $ docker pull registry.redhat.io/openshift3/mysql-apb:<tag> $ docker pull registry.redhat.io/openshift3/ose-ansible-service-broker:<tag> $ docker pull registry.redhat.io/openshift3/ose-cli:<tag> $ docker pull registry.redhat.io/openshift3/ose-cluster-autoscaler:<tag> $ docker pull registry.redhat.io/openshift3/ose-cluster-capacity:<tag> $ docker pull registry.redhat.io/openshift3/ose-cluster-monitoring-operator:<tag> $ docker pull registry.redhat.io/openshift3/ose-console:<tag> $ docker pull registry.redhat.io/openshift3/ose-configmap-reloader:<tag> $ docker pull registry.redhat.io/openshift3/ose-control-plane:<tag> $ docker pull registry.redhat.io/openshift3/ose-deployer:<tag> $ docker pull registry.redhat.io/openshift3/ose-descheduler:<tag> $ docker pull registry.redhat.io/openshift3/ose-docker-builder:<tag> $ docker pull registry.redhat.io/openshift3/ose-docker-registry:<tag> $ docker pull registry.redhat.io/openshift3/ose-efs-provisioner:<tag> $ docker pull registry.redhat.io/openshift3/ose-egress-dns-proxy:<tag> $ docker pull registry.redhat.io/openshift3/ose-egress-http-proxy:<tag> $ docker pull registry.redhat.io/openshift3/ose-egress-router:<tag> $ docker pull registry.redhat.io/openshift3/ose-haproxy-router:<tag> $ docker pull registry.redhat.io/openshift3/ose-hyperkube:<tag> $ docker pull registry.redhat.io/openshift3/ose-hypershift:<tag> $ docker pull registry.redhat.io/openshift3/ose-keepalived-ipfailover:<tag> $ docker pull registry.redhat.io/openshift3/ose-kube-rbac-proxy:<tag> $ docker pull registry.redhat.io/openshift3/ose-kube-state-metrics:<tag> $ docker pull registry.redhat.io/openshift3/ose-metrics-server:<tag> $ docker pull registry.redhat.io/openshift3/ose-node:<tag> $ docker pull registry.redhat.io/openshift3/ose-node-problem-detector:<tag> $ docker pull registry.redhat.io/openshift3/ose-operator-lifecycle-manager:<tag> $ docker pull registry.redhat.io/openshift3/ose-ovn-kubernetes:<tag> $ docker pull registry.redhat.io/openshift3/ose-pod:<tag> $ docker pull registry.redhat.io/openshift3/ose-prometheus-config-reloader:<tag> $ docker pull registry.redhat.io/openshift3/ose-prometheus-operator:<tag> $ docker pull registry.redhat.io/openshift3/ose-recycler:<tag> $ docker pull registry.redhat.io/openshift3/ose-service-catalog:<tag> $ docker pull registry.redhat.io/openshift3/ose-template-service-broker:<tag> $ docker pull registry.redhat.io/openshift3/ose-tests:<tag> $ docker pull registry.redhat.io/openshift3/ose-web-console:<tag> $ docker pull registry.redhat.io/openshift3/postgresql-apb:<tag> $ docker pull registry.redhat.io/openshift3/registry-console:<tag> $ docker pull registry.redhat.io/openshift3/snapshot-controller:<tag> $ docker pull registry.redhat.io/openshift3/snapshot-provisioner:<tag> $ docker pull registry.redhat.io/rhel7/etcd:3.2.28
对于 x86_64 服务器中的内部安装,请拉取以下镜像。将
<tag>
替换为要安装的版本。例如,为最新版本指定v3.11.634
。您可以指定不同的次版本。$ docker pull registry.redhat.io/openshift3/ose-efs-provisioner:<tag>
为可选组件拉取所有所需的 OpenShift Container Platform 组件镜像。将
<tag>
替换为要安装的版本。例如,为最新版本指定v3.11.634
。您可以指定不同的次版本。对于 x86_64 服务器中的内部安装,请运行以下命令:
$ docker pull registry.redhat.io/openshift3/metrics-cassandra:<tag> $ docker pull registry.redhat.io/openshift3/metrics-hawkular-metrics:<tag> $ docker pull registry.redhat.io/openshift3/metrics-hawkular-openshift-agent:<tag> $ docker pull registry.redhat.io/openshift3/metrics-heapster:<tag> $ docker pull registry.redhat.io/openshift3/metrics-schema-installer:<tag> $ docker pull registry.redhat.io/openshift3/oauth-proxy:<tag> $ docker pull registry.redhat.io/openshift3/ose-logging-curator5:<tag> $ docker pull registry.redhat.io/openshift3/ose-logging-elasticsearch5:<tag> $ docker pull registry.redhat.io/openshift3/ose-logging-eventrouter:<tag> $ docker pull registry.redhat.io/openshift3/ose-logging-fluentd:<tag> $ docker pull registry.redhat.io/openshift3/ose-logging-kibana5:<tag> $ docker pull registry.redhat.io/openshift3/prometheus:<tag> $ docker pull registry.redhat.io/openshift3/prometheus-alertmanager:<tag> $ docker pull registry.redhat.io/openshift3/prometheus-node-exporter:<tag> $ docker pull registry.redhat.io/cloudforms46/cfme-openshift-postgresql $ docker pull registry.redhat.io/cloudforms46/cfme-openshift-memcached $ docker pull registry.redhat.io/cloudforms46/cfme-openshift-app-ui $ docker pull registry.redhat.io/cloudforms46/cfme-openshift-app $ docker pull registry.redhat.io/cloudforms46/cfme-openshift-embedded-ansible $ docker pull registry.redhat.io/cloudforms46/cfme-openshift-httpd $ docker pull registry.redhat.io/cloudforms46/cfme-httpd-configmap-generator $ docker pull registry.redhat.io/rhgs3/rhgs-server-rhel7 $ docker pull registry.redhat.io/rhgs3/rhgs-volmanager-rhel7 $ docker pull registry.redhat.io/rhgs3/rhgs-gluster-block-prov-rhel7 $ docker pull registry.redhat.io/rhgs3/rhgs-s3-server-rhel7
对于 IBM POWER8 或 IBM POWER9 服务器中的内部安装,请运行以下命令:
$ docker pull registry.redhat.io/openshift3/metrics-cassandra:<tag> $ docker pull registry.redhat.io/openshift3/metrics-hawkular-openshift-agent:<tag> $ docker pull registry.redhat.io/openshift3/metrics-heapster:<tag> $ docker pull registry.redhat.io/openshift3/metrics-schema-installer:<tag> $ docker pull registry.redhat.io/openshift3/oauth-proxy:<tag> $ docker pull registry.redhat.io/openshift3/ose-logging-curator5:<tag> $ docker pull registry.redhat.io/openshift3/ose-logging-elasticsearch5:<tag> $ docker pull registry.redhat.io/openshift3/ose-logging-eventrouter:<tag> $ docker pull registry.redhat.io/openshift3/ose-logging-fluentd:<tag> $ docker pull registry.redhat.io/openshift3/ose-logging-kibana5:<tag> $ docker pull registry.redhat.io/openshift3/prometheus:<tag> $ docker pull registry.redhat.io/openshift3/prometheus-alert-buffer:<tag> $ docker pull registry.redhat.io/openshift3/prometheus-alertmanager:<tag> $ docker pull registry.redhat.io/openshift3/prometheus-node-exporter:<tag>
重要对于红帽支持,
rhgs3/
镜像需要一个聚合模式订阅。拉取要在 OpenShift Container Platform 环境中使用的经过认证的 Source-to-Image(S2I) 构建器镜像。
通过指定版本号来确保指定正确的标签。如需了解有关镜像兼容性的详细信息,请参阅 OpenShift 和 Atomic Platform Tested Integrations 中 的 S2I 表。
您可以拉取以下镜像:
$ docker pull registry.redhat.io/jboss-amq-6/amq63-openshift:<tag> $ docker pull registry.redhat.io/jboss-datagrid-7/datagrid71-openshift:<tag> $ docker pull registry.redhat.io/jboss-datagrid-7/datagrid71-client-openshift:<tag> $ docker pull registry.redhat.io/jboss-datavirt-6/datavirt63-openshift:<tag> $ docker pull registry.redhat.io/jboss-datavirt-6/datavirt63-driver-openshift:<tag> $ docker pull registry.redhat.io/jboss-decisionserver-6/decisionserver64-openshift:<tag> $ docker pull registry.redhat.io/jboss-processserver-6/processserver64-openshift:<tag> $ docker pull registry.redhat.io/jboss-eap-6/eap64-openshift:<tag> $ docker pull registry.redhat.io/jboss-eap-7/eap71-openshift:<tag> $ docker pull registry.redhat.io/jboss-webserver-3/webserver31-tomcat7-openshift:<tag> $ docker pull registry.redhat.io/jboss-webserver-3/webserver31-tomcat8-openshift:<tag> $ docker pull registry.redhat.io/openshift3/jenkins-2-rhel7:<tag> $ docker pull registry.redhat.io/openshift3/jenkins-agent-maven-35-rhel7:<tag> $ docker pull registry.redhat.io/openshift3/jenkins-agent-nodejs-8-rhel7:<tag> $ docker pull registry.redhat.io/openshift3/jenkins-slave-base-rhel7:<tag> $ docker pull registry.redhat.io/openshift3/jenkins-slave-maven-rhel7:<tag> $ docker pull registry.redhat.io/openshift3/jenkins-slave-nodejs-rhel7:<tag> $ docker pull registry.redhat.io/rhscl/mongodb-32-rhel7:<tag> $ docker pull registry.redhat.io/rhscl/mysql-57-rhel7:<tag> $ docker pull registry.redhat.io/rhscl/perl-524-rhel7:<tag> $ docker pull registry.redhat.io/rhscl/php-56-rhel7:<tag> $ docker pull registry.redhat.io/rhscl/postgresql-95-rhel7:<tag> $ docker pull registry.redhat.io/rhscl/python-35-rhel7:<tag> $ docker pull registry.redhat.io/redhat-sso-7/sso70-openshift:<tag> $ docker pull registry.redhat.io/rhscl/ruby-24-rhel7:<tag> $ docker pull registry.redhat.io/redhat-openjdk-18/openjdk18-openshift:<tag> $ docker pull registry.redhat.io/redhat-sso-7/sso71-openshift:<tag> $ docker pull registry.redhat.io/rhscl/nodejs-6-rhel7:<tag> $ docker pull registry.redhat.io/rhscl/mariadb-101-rhel7:<tag>