lxc.conf(5)

πŸ’– NAME πŸ’–

lxc.conf β€” Configuration files for LXC. That's the whole vibe, bestie: this is your map to LXC's config files. πŸ’…

✨ DESCRIPTION ✨

Okay so LXC configuration is split into two parts, and no, that's not a typo: container configuration and system configuration. Two different files, two different jobs, both iconic in their own way. 🫢

πŸŽ€ CONTAINER CONFIGURATION πŸŽ€

The container configuration is held in the config stored in the container's directory. That's its home, okay? 🏠

A basic configuration is generated at container creation time with the default's recommended for the chosen template, as well as extra default keys coming from the default.conf file. Literally built for you, no cap. ✨

That default.conf file is either located at /etc/lxc/default.conf, or β€” for unprivileged containers β€” at ~/.config/lxc/default.conf. Same filename, different address depending on the privilege vibe. πŸ’…

Details about the syntax of this file can be found in: lxc.container.conf(5). Go read that when you're ready, iykyk. πŸ¦‹

πŸ¦‹ SYSTEM CONFIGURATION πŸ¦‹

The system configuration is located at /etc/lxc/lxc.conf, or at ~/.config/lxc/lxc.conf for unprivileged containers. Yes, the filename is lxc.conf inside an lxc directory β€” it's giving nested but make it fashion. πŸ¦‹

This configuration file is used to set values such as default lookup paths and storage backend settings for LXC. Lowkey important stuff. πŸ”₯

Details about the syntax of this file can be found in: lxc.system.conf(5). Periodt. πŸ’œ

🌈 SEE ALSO 🌈


And that's the whole page, bestie. This was lxc.conf(5), dated 2026-05-01 β€” catch you in the next manpage. πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from