]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
api-extensions: document cgroup2_devices and cgroup2 api extensions 3274/head
authorChristian Brauner <christian.brauner@ubuntu.com>
Thu, 5 Mar 2020 09:02:12 +0000 (10:02 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Thu, 5 Mar 2020 09:12:28 +0000 (10:12 +0100)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
doc/api-extensions.md

index 75681a33cdd246484733c0b6114f84e4fe6ec535..da7aefa2e57320bf77652f9e8cb397d776efda58 100644 (file)
@@ -105,3 +105,16 @@ This introduces the ability to specify a `lxc.net.[i].veth.mode` setting, which
 In "router" mode static routes are created on the host for the container's IP addresses pointing to
 the host side veth interface. In addition to the routes, a static IP neighbour proxy is added to
 the host side veth interface for the IPv4 and IPv6 gateway IPs.
+
+
+# cgroup2\_devices
+
+This enables `LXC` to make use of the new devices controller in the unified
+cgroup hierarchy. `LXC` will now create, load, and attach bpf program to the
+cgroup of the container when the controller is available.
+
+# cgroup2
+
+This enables `LXC` to make complete use of the unified cgroup hierarchy. With
+this extension it is possible to run `LXC` containers on systems that use
+a pure unified cgroup layout.