Easy minimal Ubuntu VM on any OS

snap install multipass
ls -al /var/snap/multipass/common/multipass_socket
snap info multipass

multipass find

Image Aliases Version Description
snapcraft:core18 18.04 20201111 Snapcraft builder for Core 18
snapcraft:core20 20.04 20210921 Snapcraft builder for Core 20
snapcraft:core 16.04 20210929 Snapcraft builder for Core 16
core core16 20200818 Ubuntu Core 16
core18 20211124 Ubuntu Core 18
18.04 bionic 20220104 Ubuntu 18.04 LTS
20.04 focal,lts 20220118 Ubuntu 20.04 LTS
21.10 impish 20220118 Ubuntu 21.10
daily:22.04 devel,jammy 20220114 Ubuntu 22.04 LTS
appliance:adguard-home 20200812 Ubuntu AdGuard Home Appliance
appliance:mosquitto 20200812 Ubuntu Mosquitto Appliance
appliance:nextcloud 20200812 Ubuntu Nextcloud Appliance
appliance:openhab 20200812 Ubuntu openHAB Home Appliance
appliance:plexmediaserver 20200812 Ubuntu Plex Media Server Appliance
anbox-cloud-appliance latest Anbox Cloud Appliance
charm-dev latest A development and testing environment for charmers
minikube latest minikube is local Kubernetes

multipass launch — name groovy-lagomorph # 20.04

multipass list
Name State IPv4 Image
groovy-lagomorph Running Ubuntu 20.04 LTS

multipass info — all
Name: groovy-lagomorph
State: Running
Release: Ubuntu 20.04.3 LTS
Image hash: e1264d4cca6c (Ubuntu 20.04 LTS)
Load: 0.00 0.00 0.00
Disk usage: 1.3G out of 4.7G
Memory usage: 134.2M out of 976.8M
Mounts: —

multipass shell groovy-lagomorph

multipass exec groovy-lagomorph — bash

sudo ssh -i /var/snap/multipass/common/data/multipassd/ssh-keys/id_rsa ubuntu@

# or add ssh key before launch on cloud-init.yaml
— <your_ssh_key>

# or copy ssh key manually after launch
sudo ssh-copy-id -f -o ‘IdentityFile=/var/snap/multipass/common/data/multipassd/ssh-keys/id_rsa’ -i ~/.ssh/id_rsa.pub ubuntu@

multipass stop groovy-lagomorph
multipass start groovy-lagomorph
multipass delete groovy-lagomorph
multipass purge




software developer

Love podcasts or audiobooks? Learn on the go with our new app.

Deploy any apps to Vultr using Cloud 66 feature — registered servers

How We Build Contractor Leads and Where Our Project Entries Come From

IBM Business Automation Workflow Using IBM Operational Decision Manager Decision Service

Data Warehouse in BigQuery — Dimensions — Part 1

Creating Elevator in Unity — Part 3: Moving Elevator.

Foxwell NT650 Elite OBD2 Code Reader Scanner Engine ABS Airbag EPB Oil TPMS 20 Reset

Two Major Benefits of Low-Code Security Automation

Review: Black Opal “Entanglement” by Q-Ctrl

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
K Prayogo

K Prayogo

software developer

More from Medium

Kubernetes Resource Setting in a local K3D Cluster

Install OpenShift/OKD 4.9.x Single Node Cluster (SNO) using OpenShift Hive/ACM

How to Deploy an Always-Free K3s Cluster on the Oracle Cloud Infrastructure

Setup Multiple Node Groups for Local K3s Clusters with Docker-Compose