minikube:unable to load client CA file /var/lib/minikube/certs/ca.crt

minikube:unable to load client CA file /var/lib/minikube/certs/ca.crt


在这里插入图片描述
在 Centos 7 上,docker 可能会报告以下错误:
Could not read CA certificate “/etc/docker/ca.pem”: open /etc/docker/ca.pem: no such file or directory
解决的办法是更新 /etc/sysconfig/docker 以确保遵循了 minikube 的环境更改:

< DOCKER_CERT_PATH=/etc/docker
---
> if [ -z "${DOCKER_CERT_PATH}" ]; then
>   DOCKER_CERT_PATH=/etc/docker
> fi

来自 https://k8smeetup.github.io/docs/getting-started-guides/minikube/

so…
创建文件/etc/sysconfig/docker,内容如下
执行这个shell文件:
/bin/bash /etc/sysconfig/docker
minikube:unable to load client CA file /var/lib/minikube/certs/ca.crt_第1张图片
docker正常启动了!!!!!!!!!!!

你可能感兴趣的:(k8s)