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

直接获取 rpm文件

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.-.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文件.

重新下载文件:

 docker pull registry.access.redhat.com/rhel7/pod-infrastructure:latest
上一篇:好久没弄了,来个最简的centos下的Iptables文件存照吧。


下一篇:Linux shell爬虫实现树洞网自动回复Robot