yum install *rhsm

安装完成后,执行一下

docker pull registry.access.redhat.com/rhel7/pod-infrastructure:latest

如果依然报错,可参考下面的方案:

wget http://mirror.centos.org/centos/7/os/x86_64/Packages/python-rhsm-certificates-1.19.10-1.el7_4.x86_64.rpm
rpm2cpio python-rhsm-certificates-1.19.10-1.el7_4.x86_64.rpm | cpio -iv --to-stdout ./etc/rhsm/ca/redhat-uep.pem | tee /etc/rhsm/ca/redhat-uep.pem

这两个命令会生成
/etc/rhsm/ca/redhat-uep.pem文件.

顺得的话会得到下面的结果。

Logo

K8S/Kubernetes社区为您提供最前沿的新闻资讯和知识内容

更多推荐