Minikube 不会在 mac 开始
Minikube won't start on mac
正在尝试在 mac 上启动 minikube。 VirtualBox 正在提供虚拟化。
$ minikube start
minikube v1.1.0 on darwin (amd64)
Creating virtualbox VM (CPUs=2, Memory=2048MB, Disk=20000MB) ...
Configuring environment for Kubernetes v1.14.2 on Docker 18.09.6
❌ Unable to load cached images: loading cached images: loading image /Users/paul/.minikube/cache/images/k8s.gcr.io/kube-proxy_v1.14.2: Docker load /tmp/kube-proxy_v1.14.2: command failed: docker load -i /tmp/kube-proxy_v1.14.2
stdout:
stderr: open /var/lib/docker/image/overlay2/layerdb/tmp/write-set-542676317/diff: read-only file system
: Process exited with status 1
Failed to setup certs: pre-copy: command failed: sudo rm -f /var/lib/minikube/certs/ca.crt
stdout:
stderr: rm: cannot remove '/var/lib/minikube/certs/ca.crt': Input/output error
: Process exited with status 1
Sorry that minikube crashed. If this was unexpected, we would love to hear from you:
https://github.com/kubernetes/minikube/issues/new
尝试 minikube delete
后跟 minikube start
会产生同样的问题。
Docker 运行 并且已登录。
我也在 minikube delete
之后删除了 virtualbox 中的所有 machines,但仍然得到相同的结果。
根据 What if I answer a question in a comment? 我也添加了答案,因为很多人不看评论。
您可以尝试在启动 minikube
之前删除 MINIKUBE_HOME 中的本地配置
rm -rf ~/.minikube
尝试
minikube delete
和
minikube start
正在尝试在 mac 上启动 minikube。 VirtualBox 正在提供虚拟化。
$ minikube start
minikube v1.1.0 on darwin (amd64)
Creating virtualbox VM (CPUs=2, Memory=2048MB, Disk=20000MB) ...
Configuring environment for Kubernetes v1.14.2 on Docker 18.09.6
❌ Unable to load cached images: loading cached images: loading image /Users/paul/.minikube/cache/images/k8s.gcr.io/kube-proxy_v1.14.2: Docker load /tmp/kube-proxy_v1.14.2: command failed: docker load -i /tmp/kube-proxy_v1.14.2
stdout:
stderr: open /var/lib/docker/image/overlay2/layerdb/tmp/write-set-542676317/diff: read-only file system
: Process exited with status 1
Failed to setup certs: pre-copy: command failed: sudo rm -f /var/lib/minikube/certs/ca.crt
stdout:
stderr: rm: cannot remove '/var/lib/minikube/certs/ca.crt': Input/output error
: Process exited with status 1
Sorry that minikube crashed. If this was unexpected, we would love to hear from you:
https://github.com/kubernetes/minikube/issues/new
尝试 minikube delete
后跟 minikube start
会产生同样的问题。
Docker 运行 并且已登录。
我也在 minikube delete
之后删除了 virtualbox 中的所有 machines,但仍然得到相同的结果。
根据 What if I answer a question in a comment? 我也添加了答案,因为很多人不看评论。
您可以尝试在启动 minikube
之前删除 MINIKUBE_HOME 中的本地配置rm -rf ~/.minikube
尝试
minikube delete
和
minikube start