On Linux it’s available as a snap:

sudo snap install multipass --classic
sudo snap install multipass --beta --classic

Find available images

multipass find

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:core22 22.04 20220426 Snapcraft builder for Core 22
snapcraft:devel 20221109 Snapcraft builder for the devel series
core core16 20200818 Ubuntu Core 16
core18 20211124 Ubuntu Core 18
core20 20210630 Ubuntu Core 20
core22 20220610 Ubuntu Core 22
18.04 bionic 20221014 Ubuntu 18.04 LTS
20.04 focal 20221018 Ubuntu 20.04 LTS
22.04 jammy,lts 20221101.1 Ubuntu 22.04 LTS
22.10 kinetic 20221101 Ubuntu 22.10

运行镜像
From the output, there are several Ubuntu LTS versions. You can launch an instance from the list using the syntax below.

multipass launch --name test-instance 18.04

This command will launch an instance for Ubuntu 18.04.

Launch a fresh instance of the current Ubuntu LTS

$ multipass launch ubuntu

Connect to a running instance

$ multipass shell test-instance
lsb_release -a

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.6 LTS
Release: 18.04
Codename: bionic

Mount and Unmount a local directory
To mount a local directory use the following command syntax:

multipass mount <source> <target> [<target> ...]
本文链接地址:https://const.net.cn/734.html

标签: none

添加新评论