Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

How to Quickly Launch Ubuntu Virtual Machine with Multipass

Learn how to Quickly Launch Ubuntu Virtual with clear steps, useful examples, and practical tips. Complete the task correctly and avoid common mistakes.

Table of Contents

This updated guide explains how to Quickly Launch Ubuntu Virtual Machine with Multipass through clear steps, practical examples, and important checks that help prevent common errors.

Multipass is a lightweight virtual machine manager that allows you to easily and quickly launch an Ubuntu virtual machine. Here is how you can do so.

How to Set Up Multipass

Multipass is available for Windows, macOS and Linux. For Windows and macOS, you can download the relevant packages and install them like any regular application. Just be aware that for Windows, you will need to install VirtualBox or Hyper-V. Hyper-V is only compatible with Windows 10 Pro and Windows 10 Enterprise. After installation, you can use Multipass from the Terminal.

For Linux, you can install Multipass using Snaps. After installing snapd, you can install Multipass with the command:

sudo snap install multipass --classic

Use Multipass

After installing Multipass, you can launch an instance (specific case) with:

multipass launch --name instance-name
Quickly Launch Ubuntu Virtual Machine with Multipass — Use Multipass screenshot 1 Launch an instance with Multipass

By default, this command will download the current Ubuntu LTS (at the time of writing it is Ubuntu 20.04). You can set up multiple instances with Multipass (with different names) and then use them for different purposes. You can view installed instances with:

multipass list
Quickly Launch Ubuntu Virtual Machine with Multipass — Use Multipass screenshot 2 View installed instances

You can also start and stop instances as you like with:

multipass start instance-name multipass stop instance-name

Multipass allows you to interact with and run commands within the virtual machine. To do this, you need to run the command:

multipass exec instance-name -- sudo apt update

The Uses of Multipass

Multipass is useful from a development standpoint, because you can quickly test code on different versions of Ubuntu. However, it also has other great uses.

Run Linux GUI Applications on macOS

You can use XQuartz to display Linux GUI applications on macOS. To do this, you will have to set XQuartz to Allow connections from network clients . Once completed, you can install the application whose GUI you may need to see in a Multipass instance. You can then ask Multipass to open the application by pointing it at the computer's IP address.

Run Pi-Hole

Pi-Hole is a popular network-based ad blocker for Linux. You can set this ad blocker all over the network with the Raspberry Pi, but it's a bit more convenient to set this up with Multipass.

Set Up a Kubernetes Cluster on Windows

Quickly Launch Ubuntu Virtual Machine with Multipass — Set Up a Kubernetes Cluster on Windows screenshot 3 Set up a Kubernetes Cluster on Windows

Kubernetes allows you to manage workloads and services in a container. This allows for more efficient management of system resources. Kubernetes is a great option for running effective applications. You can use Multipass to set up Microk8s on a Multipass instance. This allows you, essentially, to deploy a container with Kubernetes from a Windows machine.

FAQ

What is the easiest way to Quickly Launch Ubuntu Virtual Machine with Multipass?

Start with the requirements in this guide, then follow each step in order. Check the result after every major change so problems are easier to identify.

Can beginners follow these instructions?

Yes. The process is organized into practical steps, and you can repeat any step before moving forward.

What should I check if the method does not work?

Confirm your software or device version, permissions, settings, file format, and internet connection when the task depends on online services.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.