Getting started with Multipass
Now it’s time to install Multipass, and learn how to create, launch, and use VMs.
Installation
Multipass is readily available across various platforms:
- Ubuntu: Open your terminal and run
sudo snap install multipass - macOS: Download the installer from the official Multipass website: https://multipass.run
- Windows: Install it through the Microsoft Store or download the installer from the Multipass website
While Multipass is available on macOS and Windows, this book will focus on using it on Ubuntu.
Launching your first instance
Creating a VM is remarkably simple:
ken@monster:~$ multipass launch
This command launches an Ubuntu instance with the latest LTS release. To customize your instance, utilize these options:
- Naming:
--name my-dev-vmassigns a specific name to your instance - Resource allocation:
--cpus 2 --mem 4Gallocates CPU cores and memory - Cloud-init:
--cloud-init...