machine-drivers / docker-machine-driver-vmware

Docker machine driver for VMware Fusion and Workstation.
https://www.vmware.com/products/personal-desktop-virtualization.html
Apache License 2.0
184 stars 47 forks source link

Support darwin arm64 #52

Open danielhelfand opened 2 years ago

danielhelfand commented 2 years ago

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 commented 2 years ago

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

mikeroySoft commented 2 years ago

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.

afbjorklund commented 2 years ago

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

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

leo4all commented 2 years ago

@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

afbjorklund commented 2 years ago

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