lxc.system.conf(5)
πΈ lxc.system.conf(5) β the LXC system config glow-up πΈ
okay so bestie, welcome to lxc.system.conf, aka the LXC system configuration file π
(yes it's in section 5 of the manual, we're fancy like that). This is the little file that tells LXC how you like things set up before any container even wakes up.
β¨ DESCRIPTION β¨
The system configuration lives at /etc/lxc/lxc.conf, or at ~/.config/lxc/lxc.conf for unprivileged containers. π«Ά
This configuration file is the place where you set values like default lookup paths and storage backend settings for LXC. Basically: your personal defaults, your personal vibe. π
π CONFIGURATION PATHS π
lxc.lxcpathβ the location where all containers are stored. That's where your babies live. πlxc.default_configβ the path to the default container configuration. The starting point, the blueprint, the moment before the makeover. β¨
π¦ CONTROL GROUPS π¦
lxc.cgroup.useβ a comma separated list of cgroup controllers to set up. If none is specified, all available controllers will be used. (so like, if you're not gonna pick, it picks everything for you β generous queen π )lxc.cgroup.patternβ format string used to generate the cgroup path (e.g.lxc/%n). Keep it exact bestie, it's a format string. π§
π LVM π
lxc.bdev.lvm.vgβ default LVM volume group name.lxc.bdev.lvm.thin_poolβ default LVM thin pool name.
π ZFS π
lxc.bdev.zfs.rootβ default ZFS root name.
π₯ SEE ALSO π₯
Heads up: the page literally drops this line right before the SEE ALSO heading, so here it is, untouched, no cap:
lxc(1), lxc.container.conf(5), lxc.system.conf(5), lxc-usernet(5)
and then the actual list:
lxc(7)lxc-create(1)lxc-copy(1)lxc-destroy(1)lxc-start(1)lxc-stop(1)lxc-execute(1)lxc-console(1)lxc-monitor(1)lxc-wait(1)lxc-cgroup(1)lxc-ls(1)lxc-info(1)lxc-freeze(1)lxc-unfreeze(1)lxc-attach(1)lxc.conf(5)
and that's the whole page, bestie β go forth and configure slayfully π
this icon of a manpage shipped as part of lxc.system.conf(5), dated 2026-05-01 β mwah, no notes π
π¦ where this page comes from
- alpine 3.24: lxc-doc 7.0.0-r0 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms