Skip to content

Commit

Permalink
api-extensions: document cgroup2_devices and cgroup2 api extensions
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner committed Mar 5, 2020
1 parent 382854f commit c60ee0a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions doc/api-extensions.md
Expand Up @@ -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.

0 comments on commit c60ee0a

Please sign in to comment.