Multipass on Apple Silicon

What utility is there in running Multipass on Apple Silicon, beyond just spinning up instances of Ubuntu in a walled garden?

I address this question to any user in a similar circumstance because I think I may be missing something.

I’m especially interested in hearing from members of the Multipass-on-macOS dev team because I think they really ARE missing something.

When attempting to launch an instance with:

multipass launch --network en0 --network name=bridge0,mode=manual

Multipass returns:

launch failed: The bridging feature is not implemented on this backend

That “backend” on Apple Silicon being the default QEMU driver.

Documentation tells us Multipass’ ability to create a bridged interface is dependent on VirtualBox being installed on the host Mac and the user switching to the VirtualBox driver.

But of course, VirtualBox does not run on ARM processors and reading the tea leaves over at Oracle, likely never will.

This leaves users of Multipass on Apple Silicon in a bit of a Catch-22. We can neither create bridge interfaces with the default QEMU driver nor can we run VirtualBox and invoke its driver.

Since it appears that QEMU is the only driver available for the new Mac ARM processors I’ve had to recommission an Intel Mac new in 2010 and hack it to run Catalina to get Multipass and VirtualBox running in the same space just to get a feel as to how Multipass can save me cycles spinning up instances of Ubuntu.

To be honest, I’m not sure its any easier than cloning VMs in VirtualBox already configured with bridged interfaces.

What have I missed?

% multipass networks

networks failed: The networks feature is not implemented on this backend.

Hmmm… seems quite a few “features” are not implemented on the qemu backend.

Is there a list somewhere? More interesting, is there a ROAD MAP of which features will be implemented and when?

@gurufaru well you completely missed to run Ubuntu natively on Apple Silicon. I also disagree to call Apple a walled garden. https://asahilinux.org

1 Like

The subject is Multipass running on macOS on new Apple processors. I made no mention of running Ubuntu on bare metal Macs.

As for my reference to a “walled garden”, Multipass’ inability to create a bridged interface (again, on Apple Silicon running macOS with the default QEMU driver) means the instances of Ubuntu Multipass creates are “walled off” on their own separate network, and do not appear to my router as every other VM running in say VirtualBox on my Intel machines or UTM running on my Apple Silicon boxes.

@tar Indeed, the fact that UTM implements such a feature with near bare-metal performance using the QEMU driver on Apple Silicon tells me that the Multipass-on-macOS dev team have indeed missed something quite important.

I’m just asking “Is it on someone’s roadmap?”

PS: UTM also brings into question the utility of LINUX on bare-metal Apple Silicon as any performance gains would be marginal and graphics would suffer but I will keep an eye on the Asahi team. I may even try to run it on a VM in UTM. Thank you Alex Cheers.

1 Like

Hi @gurufaru,

We currently are in the process of making a new Multipass release (1.9) that includes bridged networking support on Apple M1’s using Multipass.

3 Likes

Thank you Chris. That feature will be most welcome. Cheers! :wink:

1 Like

Just created an account specifically to say thank you! This is extremely appreciated

3 Likes

To anyone else stumbling here, we have a pre-release package here:

https://github.com/canonical/multipass/issues/2364#issuecomment-1084437832

1 Like

THANK YOU ONE AND ALL (yes i’m shouting) for this terrific update!

It’s just what the guru ordered. With it I successfully ssh’d into my Ubuntu instance created in Multipass running on an M1 Mac Mini from a MacBook – after spending a few minutes solving the infamous “Permission denied (publickey)” riddle. (Perhaps more about that in another post)

Then inspired by late night talkshows with Ubuntu playing the guest-host, I ran LXD init and created a container running Ubuntu (running in a Multipass VM running Ubuntu), installed apache and added a proxy listening on port 80.

Then from any browser on any machine on my network I enter the IP address of the Ubuntu instance running in Multipass assigned by my router and bingo, the Apache page running in a container appears.

Thanks again.

2 Likes

A post was split to a new topic: Gfortran error on Multipass