LXC.FILE.MOUNT(1)

πŸ“¦
version 5.21.6 Β· 3 versions
, in opensuse-leap 16.0

πŸ’… 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 on address:port instead 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 to false. 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 with help or --help to 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 by spf13/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