docker-machine-driver-vmware icon indicating copy to clipboard operation
docker-machine-driver-vmware copied to clipboard

Support darwin arm64

Open danielhelfand opened this issue 3 years ago • 5 comments

I am trying to install minikube on an m1 mac and use the vmware driver option noted here: https://minikube.sigs.k8s.io/docs/drivers/vmware/

As noted in https://github.com/kubernetes/minikube/issues/12858, the following issue comes up after following the minikube instructions:

minikube start --driver=vmware

😄  minikube v1.25.1 on Darwin 12.0.1 (arm64)
✨  Using the vmware driver based on user configuration

❌  Exiting due to DRV_UNSUPPORTED_OS: The driver 'vmware' is not supported on darwin/arm64

Per the minikube instructions, I installed the vmware driver via brew install docker-machine-driver-vmware.

danielhelfand avatar Feb 06 '22 17:02 danielhelfand

Not sure if there are other considerations beyond updating goreleaser and the homebrew tap.

danielhelfand avatar Feb 06 '22 17:02 danielhelfand

The main issue is that the x86 driver uses boot2docker, and that project was discontinued. I'm trying to figure something out, but have been able to put time into it lately.

mikeroySoft avatar Feb 11 '22 22:02 mikeroySoft

I made a (mostly dysfunctional) boot2docker image here, if needed for testing (based on debian bullseye):

https://github.com/afbjorklund/boot2docker-debian/releases

afbjorklund avatar Jul 28 '22 08:07 afbjorklund

@afbjorklund Tried using yours, but am still getting errors with it. Error in driver during machine creation: Machine didn't return an IP after 120 seconds This virtual machine cannot be powered on because it requires the X86 machine architecture

leo4all avatar Aug 19 '22 21:08 leo4all

That sounds like a weird error, did you pick the right iso file ?

boot2docker-arm64-qemu

NOTE: the image does not include docker nor automount yet

If you are using minikube, you should use the minikube iso

afbjorklund avatar Aug 20 '22 07:08 afbjorklund