LINUX, FOSS AND LIBRARY TECHNOLOGY ENTHUSIAST

Sunday, May 3, 2020

Launching Ubuntu instances with Multipass

0 comments
Multipass is a lightweight VM manager for Linux, Windows, and macOS. It's designed for developers who want a fresh Ubuntu environment with a single command. It uses KVM on Linux, Hyper-V on Windows, and HyperKit on macOS to run the VM with minimal overhead. It can also use VirtualBox on Windows and macOS. Multipass will fetch images for you and keep them up to date. Since it supports metadata for cloud-init, you can simulate a small cloud deployment on your laptop or workstation.

First of all, we need to have access to snap command also check whether snap is pre-installed or not, to check to execute the below command

which snap

Get your Linux setup for snaps

Installing Snap on Ubuntu

sudo apt update
sudo apt install snapd

Check the status of snapd

sudo systemctl status snapd

Install multipass

sudo snap install --classic multipass

Check the access to multipass

which multipass

(If you don't see the result, please reboot the system and recheck it)

Create VM Instance

sudo multipass launch --name your-vm-name

eg: sudo multipass launch --name ubuntu-vm

Basically, If you don't ask any specific version of Ubuntu you will get the latest LTS version by default and It will retrieve the necessary image

See the available multipass commands

multipass

It will show the commands


Reference: https://multipass.run/

No comments:

Post a Comment