MULTIPASS

Instant Ubuntu VM - A mini-cloud on your Mac or Windows workstation !!

Introduction:

Multipass is a mini-cloud on your workstation using native hypervisors of all the supported platforms (Windows-HyperV, macOS -HperKit and Linux - KVM), which will give you different Ubuntu builds.

Multipass supports metadata for cloud-init, so it's possible to simulate a small cloud deployment from your laptop or desktop

Some Quick Features and Notes !

First Run:

  • Multipass can run either on Windows HyperV hypervisor or Virtualbox hypervisor. By default it runs on HyperV but if you need to change it, you ned to run this command on the cmd.exe or PowerShell (run both as administrator) C:\WINDOWS\system32>multipass set local.driver=virtualbox

Launching:

  • The launch command creates a new Ubuntu image and depending on the options you take you can stipulate some features, for example:

    • The name of the image, cpu, memory, disk etc

    • An example would be

      • C:\WINDOWS\system32>multipass launch -n vm1

Sharing Data with the Instance

The recommended way to share data between your host and the instance is the mount command:

Mount:

  • C:\Users\wallis.short>multipass mount Desktop\BACKUP vm1

  • C:\Users\wallis.short>multipass info vm1

    The above command should see the mount was successful.

Unmount:

  • C:\Users\wallis.short>multipass umount vm1

Deleting the Instance

When you have finished with the instance, you can delete it.

  • C:\Users\wallis.short>multipass umount vm1

  • To completely remove it, use the purge command - there are options with this command

    • C:\Users\wallis.short>multipass purge

  • To see the rest of the commands see here

My SetUp

I want to set up multiple VM's but I want other distros, not just Ubuntu on my laptop. I could just run VirtualBox and have them all there - but where is the fun in that? I want to have multipass Ubuntu vm's running in Bridged mode with my network including Virtualbox vm's in bridged mode on the same internla network in the house (172.16.60.0/24)

Last updated

Was this helpful?