Interesting.... I'm on Windows with WSL2 for most of my technical work. This looks the underlying technology is going to be pretty similar, except that I get something of a management console for multiple instances.
Now I also use applications with WSLg, so I wonder how far Multipass really goes or if its just for spinning up headless server like instances.
My experience with WSl2 is not great so far. There seems to be some memory management process in Windows that starts eating enormous amounts of cpu cycles for long periods at inconvenient times. This does not happen when I run the same setup in a same distro on the same hardware and Windows installation under Hyper-V.
Is this process part of Windows or WSL? In my experience Windows itself (without WSL) loves eating my CPU at its earliest convenience, even waking up my (unplugged) laptop from sleep for a chance to do so... (see recent HN thread)
As for the waking up, there is a setting somewhere in power options that you can set to disallow programs to schedule machine starts (even when the PC is fully shut down). Sadly, Windows ships with allow wakeups by default.
Seems odd that the post mentions Docker and Virtualbox as alternatives, when it seems Vagrant would be the most similar comparison (and is more flexible than this, as it’s not constrained to Ubuntu hosts).
Multipass is better than vagrant in my opinion because it supports cloud-init which is the most portable and flexible way to bootstrap a server.
Multipass also supports any qcow2 machine image, both from filesystem or http that has cloud-init, not just Ubuntu. This is the case on Linux not sure if this is still a limitation on macOS.
Also it's a replacement for docker desktop because it can proxy command line aliases into the machines. So you can run docker inside multipass and have docker cli route there even if docker cli is not installed on host.
LXC requires Linux. So you can actually use multipass to run LXC on macOS and Windows. I believe that was actually one of the main motivators for the multipass project.
It's also my theory that orbstack on macOS works like this
Using this at work. Not bad, but on my Windows11 amd64 machine has issues starting, losing its assigned ip and freezes mid execution of network tasks. Haven't discovered why yet, but there is not much love lost between us.
It is used for building snap packages since some years and it worked most times but was not fully stable yet. Few times I had issues where I needed to restart the multipass daemon or even the host system.
Hell, I don't want to mess with it on my Ubuntu system, I remove it because it just feels dirty. It feels like it spreads its tentacles everywhere, it's opaque, and it's slow.
28 comments
[ 1.1 ms ] story [ 66.7 ms ] threadNow I also use applications with WSLg, so I wonder how far Multipass really goes or if its just for spinning up headless server like instances.
As for the waking up, there is a setting somewhere in power options that you can set to disallow programs to schedule machine starts (even when the PC is fully shut down). Sadly, Windows ships with allow wakeups by default.
Multipass also supports any qcow2 machine image, both from filesystem or http that has cloud-init, not just Ubuntu. This is the case on Linux not sure if this is still a limitation on macOS.
Also it's a replacement for docker desktop because it can proxy command line aliases into the machines. So you can run docker inside multipass and have docker cli route there even if docker cli is not installed on host.
Multipass is way more stable and it works out of the box.
It's also my theory that orbstack on macOS works like this
And Vagrant also integrates well for provisioning scripts.
Is there anything that I'm missing out if I stay with Vagrant?
Qemu is what works best. Multipass is a nice wrapper around qemu.
Note there is a minor tweak needed after install to put efi firmware in spot where it looks
https://github.com/canonical/multipass/issues/3441
https://aur.archlinux.org/packages/canonical-multipass