Multipass is a lightweight virtual machine manager from Canonical that creates, runs and removes Ubuntu instances with a single command, using the native hypervisor of the host operating system. In Linux virtualization it sits above KVM and QEMU as a developer-oriented front end: it hides disk images, network setup and guest provisioning behind a short command-line interface, so that a fresh Ubuntu server is available in well under a minute.
The tool is aimed at disposable, reproducible environments rather than long-lived production guests. Developers use it to test packages, try cloud-init configurations, reproduce bugs on a specific Ubuntu release or run a small cluster on a laptop, and then delete every trace with one command.
How Multipass builds and runs an instance
Multipass runs as a client and a background daemon that talk over a local gRPC socket. The multipass client parses commands, while the multipassd daemon downloads images, drives the hypervisor, keeps the instance inventory and manages SSH keys, which is why the daemon needs elevated privileges and the client does not.
When a user runs multipass launch, the daemon fetches an official Ubuntu cloud image from Canonical’s image streams, caches it, creates a copy-on-write disk from it and boots the guest. On first boot, cloud-init configures the guest: it creates the default ubuntu user, injects the SSH key generated by Multipass, sets the hostname and applies any user-supplied configuration.
The choice of hypervisor depends on the host, and Multipass calls it a driver. The table below shows the usual backends on each platform.
| Host system | Default driver | Alternative driver | Typical install method |
|---|---|---|---|
| Linux | QEMU with KVM acceleration | LXD (legacy, deprecated) | Snap package |
| Windows | Hyper-V | VirtualBox | Windows installer |
| macOS | QEMU with Hypervisor.framework | VirtualBox (Intel only) | Package installer or Homebrew |
On Linux, hardware virtualization extensions (Intel VT-x or AMD-V) must be enabled and exposed through /dev/kvm; without them QEMU falls back to slow software emulation and instances become impractical.
Core commands and instance parameters
The command set is deliberately small and covers the whole instance lifecycle from discovery to purge. Most daily work uses fewer than ten verbs.
| Command | Purpose | Typical use |
|---|---|---|
multipass find | List available images and aliases | Check which Ubuntu releases can be launched |
multipass launch | Create and start an instance | multipass launch 24.04 --name dev |
multipass shell | Open an interactive SSH session | Work inside the guest |
multipass exec | Run one command in the guest | Scripted checks and CI steps |
multipass mount | Share a host directory | Edit code on the host, build in the guest |
multipass transfer | Copy files in or out | Move artifacts without a mount |
multipass snapshot | Save the stopped instance state | Checkpoint before a risky change |
multipass delete and purge | Mark for removal, then free disk | Clean up finished experiments |
Resources are set at launch with --cpus, --memory and --disk. The conservative defaults are one virtual CPU, 1 GiB of memory and 5 GiB of disk, which suits a shell session but not a compiler toolchain or a container runtime, so most real workloads need explicit values. Recent releases allow resizing a stopped instance with multipass set local.<name>.cpus=4 and similar keys, although disk can only grow, never shrink.
The special primary instance is created automatically by multipass shell when no name is given, and it mounts the user’s home directory by default. This is convenient on desktops but means host files are writable from the guest, which matters when testing untrusted code.
Multipass compared with neighboring Linux tools
Multipass occupies a narrow niche between full hypervisor managers and container tools. It reuses the same kernel virtualization stack as libvirt, but it trades configurability for speed of use.
| Tool | Isolation model | Guest systems | Main strength |
|---|---|---|---|
| Multipass | Full virtual machine | Ubuntu only | One-command Ubuntu instances on any desktop OS |
| libvirt with virt-manager | Full virtual machine | Almost any OS | Fine-grained hardware and network control |
| LXD or Incus | System containers and VMs | Many Linux distributions | Dense, fast instances and clustering |
| Quickemu | Full virtual machine | Many desktop systems | Ready-made desktop VM profiles |
| Distrobox | Shared-kernel container | Many Linux userlands | Tight desktop integration on Linux |
The decisive difference is cross-platform parity: the same commands and cloud-init files work on a Linux workstation, a Windows laptop and a Mac, which libvirt, LXD and Distrobox cannot offer. In exchange, Multipass gives no graphical console by default, limited device passthrough and no support for non-Ubuntu guests through its official image catalog.
Networking, mounts and cloud-init in practice
By default every instance gets a private NAT address reachable from the host but not from the local network. The --network option adds a bridged interface on supported drivers, which places the guest on the physical LAN with its own DHCP lease; this is the usual way to expose a test web server to other devices.
Directory sharing uses SSHFS mounts by default, which work everywhere but are noticeably slower for many small files, such as a node_modules tree. On some drivers a native mount type passes the share through the hypervisor and improves throughput considerably, at the cost of requiring the instance to be stopped when the mount is created.
The most valuable feature for automation is --cloud-init, which accepts a cloud-config YAML file at launch. Packages, users, files and run commands declared there are applied on first boot, so a team can keep one file in version control and obtain identical development machines on every host platform.
Limitations and common mistakes
Multipass is fast to adopt, and most problems come from treating it as a general-purpose hypervisor. The table lists typical symptoms with their usual cause and remedy.
| Symptom | Likely cause | Fix |
|---|---|---|
| Launch times out or is very slow | KVM unavailable or nested virtualization disabled | Enable VT-x or AMD-V and check /dev/kvm |
| Build fails with out-of-memory errors | Default 1 GiB memory | Relaunch or resize with more memory |
| Disk fills during package installs | Default 5 GiB disk | Set --disk to 20G or more |
| Slow file access in a mounted project | SSHFS overhead on many small files | Use a native mount or transfer |
| Instance unreachable from other machines | NAT-only networking | Add a bridged network |
| Conflict with another hypervisor on Windows | Hyper-V and VirtualBox competing | Choose one driver consistently |
- Only Ubuntu images are official; other distributions require custom image URLs and are not guaranteed to boot.
- Snapshots are not backups: they live on the same host disk and disappear with a purge.
- Deleted instances still occupy space until
multipass purgeruns. - The tool is not designed for production hosting; long-lived servers belong on libvirt, LXD, Incus or a cloud platform.
The simple explanation
Multipass lets a person create a spare Ubuntu computer inside their own computer with one short command. That spare machine has its own operating system, memory and disk, so experiments inside it cannot damage the main system.
Think of it as a rented practice room that appears instantly and disappears when it is no longer needed. It works the same way on Linux, Windows and Mac, which makes it a simple way to get a clean Ubuntu system for learning, testing or development.
How it is used in practice
A backend developer on a MacBook needs to confirm that a service builds on two Ubuntu LTS releases before a release. She keeps a short cloud-init file in the repository that installs the compiler, a database client and the project dependencies, then runs multipass launch 22.04 --name build22 --cpus 4 --memory 8G --disk 30G --cloud-init dev.yaml and the same command for 24.04.
Within a few minutes both instances are ready. She mounts the project directory, runs the test suite in each guest with multipass exec, and finds that one library is missing on the older release. After fixing the packaging, she deletes and purges both instances. The whole check takes under half an hour, and a Windows colleague later reproduces it exactly with the same file, which is the practical benefit of identical environments across host platforms.