lxc.system.conf(5)

lxc.system.conf5

Lxc system configuration file

Overview

The system configuration is located at FC/etc/lxc/lxc.confF[0] or FC~/.config/lxc/lxc.confF[0] for unprivileged containers.

This configuration file is used to set values such as default lookup paths and storage backend settings for LXC.

Configuration paths

FClxc.lxcpathF[0]

The location in which all containers are stored.

FClxc.default_configF[0]

The path to the default container configuration.

Control groups

FClxc.cgroup.useF[0]

Comma separated list of cgroup controllers to setup. If none is specified, all available controllers will be used.

FClxc.cgroup.patternF[0]

Format string used to generate the cgroup path (e.g. lxc/%n).

LVM

FClxc.bdev.lvm.vgF[0]

Default LVM volume group name.

FClxc.bdev.lvm.thin_poolF[0]

Default LVM thin pool name.

ZFS

FClxc.bdev.zfs.rootF[0]

Default ZFS root name.

lxc(1),

lxc.container.conf(5), lxc.system.conf(5), lxc-usernet(5)

Releases

7 releases since Debian 8 (Jessie); the text changed 6 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13
  7. Arch

From lxc 1:7.0.0-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.