我必须在断开连接的系统上安装openshift,因此我需要执行以下步骤(原始安装需要更多图像,但为了便于理解,我提供了最少的步骤)
SELECT
CompanySite_0.CompanySiteID
, Address_0.AddPostCode AS 'Delivery Post Code'
FROM
SBS.PUB.SopOrderItem SopOrderItem_0
JOIN SBS.PUB.CompanySite CompanySite_0 ON SopOrderItem_0.CompanySiteID = CompanySite_0.CompanySiteID
JOIN SBS.PUB.Address Address_0 ON CompanySite_0.AddressID = Address_0.AddressID
Site ID Site PostCode
8613552 NG1 1PQ
94823142 S1 9PU
633057107 S11 1TY
现在,当我启动安装脚本时,它会使用命令Site ID Site PostCode
8613552 S12 1TP
94823142 S1 9PU
633057107 S11 1TY
这将引发以下错误
docker pull docker.io/openshift/origin-node:v3.11.0
在第二个系统上时,我会处理docker镜像
docker load -i openshift-origin-v3.11.0-images.tar
它向我显示该图像可用。怎么了我的理解是,它应该首先在本地查看,然后从dockerhub进行检查
更新1: 如果我直接拉它说
docker.io/openshift/origin-node:v3.11.0
我希望它会说
Error getting v2 registry: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on [::1]:53: dial udp [::1]:53: connect: no route to host
答案 0 :(得分:0)
我在/etc/containers/registries.conf
中更改了以下内容,并且可以正常工作
来自
[registries.search]
registries = ['registry.access.redhat.com', 'docker.io', 'registry.fedoraproject.org', 'quay.io', 'registry.centos.org']
收件人
[registries.search]
registries = []
[registries.block]
registries = ['registry.access.redhat.com', 'docker.io', 'registry.fedoraproject.org', 'quay.io', 'registry.centos.org']