1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-03-28 21:16:20 +01:00

multipass: add page (#4105)

This commit is contained in:
Loïc Warin 2020-06-19 12:35:25 +02:00 committed by GitHub
parent b925b8366c
commit bd1216ba60
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

36
pages/common/multipass.md Normal file
View file

@ -0,0 +1,36 @@
# multipass
> CLI to manage Ubuntu virtual machines using native hypervisors.
> More information: <https://multipass.run/>.
- List the aliases that can be used to launch an instance:
`multipass find`
- Launch a new instance, set its name and use a cloud-init configuration file:
`multipass launch -n {{instance_name}} --cloud-init {{configuration_file}}`
- List all the created instances and some of their properties:
`multipass list`
- Start 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}}`