LinuxCommandLibrary

multipass

CLI to manage Ubuntu virtual machines using native hypervisors.

TLDR

List the aliases that can be used to launch an instance

$ multipass find
copy


Launch a new instance, set its name and use a cloud-init configuration file
$ multipass launch -n [instance_name] --cloud-init [configuration_file]
copy


List all the created instances and some of their properties
$ multipass list
copy


Start a specific instance by name
$ multipass start [instance_name]
copy


Show the properties of an instance
$ multipass info [instance_name]
copy


Open a shell prompt on a specific instance by name
$ multipass shell [instance_name]
copy


Delete an instance by name
$ multipass delete [instance_name]
copy


Mount a directory into a specific instance
$ multipass mount [path/to/local/directory] [instance_name]:[path/to/target/directory]
copy

Copied to clipboard