`multipass mount` command
$ multipass help mount
Usage: multipass mount [options] <source> <target> [<target> ...]
Mount a local directory inside the instance. If the instance is
not currently running, the directory will be mounted
automatically on next boot.
Options:
-h, --help Displays help on commandline options
-v, --verbose Increase logging verbosity. Repeat the 'v'
in the short option for more detail. Maximum
verbosity is obtained with 4 (or more) v's,
i.e. -vvvv.
-g, --gid-map <host>:<instance> A mapping of group IDs for use in the mount.
File and folder ownership will be mapped from
<host> to <instance> inside the instance. Can
be used multiple times.
-u, --uid-map <host>:<instance> A mapping of user IDs for use in the mount.
File and folder ownership will be mapped from
<host> to <instance> inside the instance. Can
be used multiple times.
-t, --type <type> Specify the type of mount to use.
Classic mounts use technology built into
Multipass.
Native mounts use hypervisor and/or platform
specific mounts.
Valid types are: 'classic' (default) and
'native'
Arguments:
command The command to execute
source Path of the local directory to mount
target Target mount points, in <name>[:<path>]
format, where <name> is an instance name, and
optional <path> is the mount point. If
omitted, the mount point will be the same as
the source's absolute path
Last updated 3 months ago.