cheatsheet:multipass

Multipass

Launch an instance (by default you get the current Ubuntu LTS)

multipass launch --name foo

Run commands in that instance, try running bash (logout or ctrl-d to quit)

multipass exec foo -- lsb_release -a

Pass a cloud-init metadata file to an instance on launch. See using cloud-init with multipass for more details

multipass launch -n bar --cloud-init cloud-config.yaml

See your instances

multipass list

Stop and start instances

multipass stop foo bar
multipass start foo

Clean up what you don’t need

multipass delete bar
multipass purge

Find alternate images to launch with multipass

multipass find

Get help

multipass help
multipass help <command>
  • cheatsheet/multipass.txt
  • Last modified: 2024/10/14 20:59
  • by 127.0.0.1