lxc.system.conf - Man Page

LXC system configuration file

Description

The system configuration is located at /etc/lxc/lxc.conf or ~/.config/lxc/lxc.conf for unprivileged containers.

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

Configuration Paths

lxc.lxcpath

The location in which all containers are stored.

lxc.default_config

The path to the default container configuration.

Control Groups

lxc.cgroup.use

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

lxc.cgroup.pattern

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

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.

lxc(1),

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

See Also

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)

Author

Stéphane Graber <stgraber@ubuntu.com>

Referenced By

configuration.nix(5), lxc.conf(5).

2024-04-09