(lxc_file_mount.md)= # `lxc file mount` Mount files from instances ## Synopsis Description: Mount files from instances ``` lxc file mount [:][/] [] [flags] ``` ## Examples ``` lxc file mount foo/root fooroot To mount /root from the instance foo onto the local fooroot directory. ``` ## Options ``` --auth-user string Set authentication user when using SSH SFTP listener --listen string Setup SSH SFTP listener on address:port instead of mounting --no-auth Disable authentication when using SSH SFTP listener ``` ## Options inherited from parent commands ``` --debug Show all debug messages --force-local Force using the local unix socket -h, --help Print help --project Override the source project -q, --quiet Don't 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](lxc_file.md) - Manage files in instances