AfterWorkGuinness
AfterWorkGuinness

Reputation: 1850

Minikube won't start on mac

Trying to start minikube on mac. Virtualization is being provided by 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

Trying minikube delete followed by minikube start produces the same issue.

Docker is running and is signed in.

I also deleted all machines in virtualbox after minikube delete and still get the same result.

Upvotes: 7

Views: 1482

Answers (2)

vinod
vinod

Reputation: 1

Try

minikube delete

and

minikube start

Upvotes: 0

VladoDemcak
VladoDemcak

Reputation: 5265

According to What if I answer a question in a comment? I am adding answer as well since many people dont read comments.

You can try to delete local config in MINIKUBE_HOME before starting minikube

rm -rf ~/.minikube

Upvotes: 7

Related Questions