zoukankan      html  css  js  c++  java
  • open /etc/docker/certs.d/registry.access.redhat.com/redhat-ca.crt: no such file or directory 解决方案

    方法一.  yum安装

         yum install *rhsm*

    方法二 (我是用这方法解决的)

         执行命令:

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

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


    此时kubectl get pods 会显示running状态

    [root@docker-master1 ~]# kubectl get pods
    NAME      READY     STATUS    RESTARTS   AGE
    mynginx   1/1       Running   0          13m
  • 相关阅读:
    【BZOJ4444】国旗计划
    NOIp模拟赛三十一
    [arc086e]snuke line
    NOIp模拟赛三十
    [agc004f]namori
    [agc004d]salvage robot
    [agc016b]colorful hats
    NOIp模拟赛二十九
    [arc082f]sandglass
    Oracle性能报告--ASH
  • 原文地址:https://www.cnblogs.com/harlanzhang/p/9923982.html
Copyright © 2011-2022 走看看