snippetbashTip
multipass — Manage Ubuntu virtual machines using native hypervisors. More information: <https://documentation.ub
Viewed 0 times
virtualcommandclimanageubuntumultipassusingmachines
Problem
How to use the
multipass command: Manage Ubuntu virtual machines using native hypervisors. More information: <https://documentation.ubuntu.com/multipass/latest/reference/command-line-interface/>.Solution
multipass — Manage Ubuntu virtual machines using native hypervisors. More information: <https://documentation.ubuntu.com/multipass/latest/reference/command-line-interface/>.List the aliases that can be used to launch an instance:
multipass findLaunch a new instance, set its name and use a cloud-init configuration file:
multipass launch {{[-n|--name]}} {{instance_name}} --cloud-init {{configuration_file}}List all the created instances and some of their properties:
multipass listStart a specific instance by name:
multipass start {{instance_name}}Show the properties of an instance:
multipass info {{instance_name}}Open a shell prompt on a specific instance by name:
multipass shell {{instance_name}}Delete an instance by name:
multipass delete {{instance_name}}Mount a directory into a specific instance:
multipass mount {{path/to/local_directory}} {{instance_name}}:{{path/to/target_directory}}Code Snippets
List the aliases that can be used to launch an instance
multipass findLaunch a new instance, set its name and use a cloud-init configuration file
multipass launch {{[-n|--name]}} {{instance_name}} --cloud-init {{configuration_file}}List all the created instances and some of their properties
multipass listStart a specific instance by name
multipass start {{instance_name}}Show the properties of an instance
multipass info {{instance_name}}Context
tldr-pages: common/multipass
Revisions (0)
No revisions yet.