<a id="lxc-file-mount-md"></a>

# `lxc file mount`

Mount path from instance

## Synopsis

Description:
Mount path from instance

```none
lxc file mount [<remote>:]<instance>[/<path>] [<target path>] [flags]
```

## Examples

```none
  lxc file mount foo/root fooroot
     To mount /root from the instance foo onto the local fooroot directory.
```

## Options

```none
      --auth-user   Set authentication user when using SSH SFTP listener
      --listen      Setup SSH SFTP listener on address:port instead of mounting
      --no-auth     Disable authentication when using SSH SFTP listener
```

## Options inherited from parent commands

```none
      --debug          Show all debug messages
      --force-local    Force using the local unix socket
  -h, --help           Print help
      --project        Override the source project
  -q, --quiet          Do not show progress information
      --sub-commands   Use with help or --help to view sub-commands
  -v, --verbose        Show all information messages
      --version        Print version number
```

## SEE ALSO

* [lxc file](https://canonical.com/lxd/docs/latest/reference/manpages/lxc/file/index.html.md#lxc-file-md)	 - Manage files in instances
