From c60ee0a929b9917c8882651c8e57c16a7213681b Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Thu, 5 Mar 2020 10:02:12 +0100 Subject: [PATCH] api-extensions: document cgroup2_devices and cgroup2 api extensions Signed-off-by: Christian Brauner --- doc/api-extensions.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/doc/api-extensions.md b/doc/api-extensions.md index 75681a33c..da7aefa2e 100644 --- a/doc/api-extensions.md +++ b/doc/api-extensions.md @@ -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. -- 2.47.2