1lxc.conf(5) lxc.conf(5)
2
3
4
6 lxc.conf - Configuration files for LXC.
7
9 LXC configuration is split in two parts. Container configuration and
10 system configuration.
11
12 CONTAINER CONFIGURATION
13 The container configuration is held in the config stored in the con‐
14 tainer's directory.
15
16 A basic configuration is generated at container creation time with the
17 default's recommended for the chosen template as well as extra default
18 keys coming from the default.conf file.
19
20 That default.conf file is either located at /etc/lxc/default.conf or
21 for unprivileged containers at ~/.config/lxc/default.conf.
22
23 Details about the syntax of this file can be found in: lxc.con‐
24 tainer.conf(5)
25
26 SYSTEM CONFIGURATION
27 The system configuration is located at /etc/lxc/lxc.conf or ~/.con‐
28 fig/lxc/lxc.conf for unprivileged containers.
29
30 This configuration file is used to set values such as default lookup
31 paths and storage backend settings for LXC.
32
33 Details about the syntax of this file can be found in: lxc.sys‐
34 tem.conf(5)
35
37 lxc(1), lxc.container.conf(5), lxc.system.conf(5), lxc-usernet(5)
38
40 Stéphane Graber <stgraber@ubuntu.com>
41
42
43
44 2022-05-26 lxc.conf(5)