M1 and onwards macbooks, very difficult to setup lab due to no virtual box support

How should i proceed further when i can not setup lab because virtual box is not support on M1 macbooks and onwards. VMware is also not available for mac book , only vmware fusion is option that too with very limited options and no any guide about how to set that up.
Anyone ? half of the world uses M1, M2 and M3

If VMware fusion works, what is the issue with that? Also I wouldn’t agree half the world are on Macs.

There are a number of good options for the newer Macs. I’d recommend trying:

  1. Setting up a lab using multipass. We have a tutorial for that too.
  2. If all you need is a useful Kubernetes cluster that works on modern ARM64 Macs, you can use colima, which works very well as a combined docker/K8s cluster.

i think it doesn’t support spinning up multiple VMs. I am not sure but there can be courses coming ahead that can require to setup multiple VMs and that’s where we will get stuck

I can explore multipass but i think it only supports ubuntu and not CentOS. The course instructor mentioned to work with CentOS but i dont know how strict of a requirement it would be in future courses, and having ubuntu machine won’t stop me from carying the courses ahead

Pretty sure VMware Fusion supports multiple VMs.

If you need to use CentOS or similar distribution, you can use the qemu provider on an M1 mac. You can do it like this:

vagrant plugin install vagrant-qemu
vagrant init generic/rhel9
vagrant up --provider qemu

This worked on my M2 Mac Mini, which is running Sonoma. The qemu plugin doesn’t have great networking support, but it may work well enough for you to get the job done.

You can also get vmware to work. Assuming you have vmware_desktop installed, this works for me as well:

vagrant plugin install vagrant-vmware-desktop
vagrant init gyptazy/rocky9.3-arm64
vagrant up --provider vmware_desktop

This is better than the gyptazy centos 9 install (it’s a buggy 1.0.0 version; rocky is 1.02 and works better), and probably networks better than the qemu provider.

i already tried this method.
I have vmware fusion installed and i can run a instance on it using centOS 9 stream iso file.
But when trying vmware with vagrant i m getting a strange error when running vagrant up --provider vmware_desktop. I have opened an issue in the provider’s github repo and you can checkout the error there.
For now i am continuing having multipass and vmware(not with vagrant) for my courses.

Also one additional thing i would like to confirm , did you also install vagrant vmware utility service as mentioned here

It actually matters, a lot, which vagrant box you use; did you use the exact instructions I gave? The gyptazy/rocky9.3-arm64 box is one of the few that worked without errors. So it’s not just the method – it’s the box you use.

Try my exact suggestion and see if it works.

Just use UTM for Silicone macs , its free