todd-dsm / mac-ops

QnD Automation to build a MacBook Pro for DevOps
MIT License
11 stars 7 forks source link

M1 minikube virtualization #85

Open todd-dsm opened 2 years ago

todd-dsm commented 2 years ago

Virtualization seems to be lagging on the M1 platform. Until this (hyperkit) question is solved, use Docker (Desktop) as a driver.

minikube config set driver docker, or

minikube start --driver=docker --alsologtostderr

Related

mooxiu commented 2 years ago

Thanks for your instruction! This works on my M1 Macbook Pro.

For reference: need to start docker before you run minikube start, or it will fail with message:

💣 Exiting due to PROVIDER_DOCKER_NOT_RUNNING: "docker version --format -" exit status 1: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?