guix/gnu/system
Sam Lockart 969cea6836
file-systems: Use cgroups v2.
cgroup v2 is the next generation of the control groups API.  This patch
replaces the cgroup v1 file systems with the unified cgroup v2 file
system.

cgroup v2 allows for things like containerd/podman to run rootless
containers and opens guix system up to running things like Kubernetes.

Thanks to Hilton Chain <hako@ultrarare.space> for suggesting the Docker
service change.

* gnu/system/file-systems.scm (%control-groups): Change to a single
"cgroup2" mount point.
* gnu/services/docker.scm (docker-shepherd-service): Trim 'requirement'
field accordingly.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2023-08-08 18:01:55 +02:00
..
examples
images
accounts.scm
file-systems.scm file-systems: Use cgroups v2. 2023-08-08 18:01:55 +02:00
hurd.scm
image.scm
install.scm
keyboard.scm
linux-container.scm
linux-initrd.scm
locale.scm
mapped-devices.scm
nss.scm
pam.scm
setuid.scm
shadow.scm
uuid.scm
vm.scm