LXC.FILE.MOUNT(1)
π lxc-file-mount β NAME
okay so bestie, this is lxc-file-mount β it mounts files from instances β¨ like, actual files, from your instance, onto your machine. iconic behaviour honestly.
it lives in the LXD - Command line client(1) manual, which is the glow-up era of LXD docs, iykyk π
πΈ SYNOPSIS
lxc file mount [<remote>:][<instance>][/<path>] [<target>] [flags]
ngl the original synopsis line is literally printed as lxc file mount [:][/] [] [flags] β that's what the page says, so that's what you get. no cap, no edits. π
β¨ DESCRIPTION
Description: Mount files from instances π«Ά
that's the whole thing. it's giving short and sweet, main character energy, no filler. you point it at an instance and a path inside it, you give it somewhere to land on your local box, and boom β mounted. π₯
π OPTIONS
--auth-user=""β sets the authentication user when you're going through the SSH SFTP listener. literally just tells it who's logging in. π§--listen=""β sets up an SSH SFTP listener onaddress:portinstead of mounting. so instead of the mount happening, you get a listener. pick a lane bestie (or, y'know, pick this flag). β¨--no-auth[=false]β disables authentication when you're using the SSH SFTP listener. defaults tofalse. use with taste, okay? π
π¦ OPTIONS INHERITED FROM PARENT COMMANDS
these are the ones you get for free from the parent command, no extra charge π
--debug[=false]β show all debug messages. everything. all of it. the full yap session. π--force-local[=false]β force using the local unix socket. as in, local only, no remote nonsense. π-h,--help[=false]β print help. the classic. the goat. π--project=""β override the source project. yes, that's really what it says. π-q,--quiet[=false]β don't show progress information. for when the progress bar is too much drama for you rn. π€«--sub-commands[=false]β use withhelpor--helpto view sub-commands. nesting doll vibes. πͺ-v,--verbose[=false]β show all information messages. the opposite of quiet, and she is talkative. π£οΈ--version[=false]β print version number. the "who are you" of flags. β
π EXAMPLE
lxc file mount foo/root fooroot
so what this does π to mount /root from the instance foo onto the local fooroot directory. slay. that's it, that's the whole demo, and honestly it ate. π₯
π SEE ALSO
lxc-file(1)β go read that one next bestie, it's the whole file family π
π HISTORY
22-Aug-2026β Auto generated byspf13/cobra
and that's the page!! auto generated by spf13/cobra, dated Aug 2026, straight out of the LXD - Command line client(1) manual β go mount something iconic and stay hydrated π«Άβ¨π
π¦ where this page comes from
- opensuse-leap 16.0: lxd 5.21.6-bp160.1.1 Β· AGPL-3.0-only AND Apache-2.0
- opensuse-leap 16.0: lxd 5.21.6-bp160.1.1 Β· AGPL-3.0-only AND Apache-2.0
- opensuse-leap 16.0: lxd 5.21.6-bp160.1.1 Β· AGPL-3.0-only AND Apache-2.0
- opensuse-leap 16.0: lxd 5.21.6-bp160.1.1 Β· AGPL-3.0-only AND Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms