image pull failed for registry.access.redhat.com/rhel7/pod-infrastructure:latest

Centos7上 安装kubernettes 第一次创建pod时会报错,原因是无法下载下图镜像.


image pull failed for registry.access.redhat.com/rhel7/pod-infrastructure:latest_第1张图片

直接docker pull  registry.access.redhat.com/rhel7/pod-infrastructure:latest 报错如下:

Trying to pull repository registry.access.redhat.com/rhel7/pod-infrastructure ...

open /etc/docker/certs.d/registry.access.redhat.com/redhat-ca.crt: no such file or directory


解决办法:

1.在node节点执行 yum install *rhsm*

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

你可能感兴趣的:(image pull failed for registry.access.redhat.com/rhel7/pod-infrastructure:latest)