diff options
author | Sam Lockart <sam@samlockart.com> | 2023-06-24 03:11:26 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-08-08 18:01:55 +0200 |
commit | 969cea683615e79c7e6548f945f15af80ad58a8a (patch) | |
tree | 025fb4b57939e1dd7239ce1474333012aaa32ef1 /gnu/services | |
parent | 267e4234ff05076a67bd7fd0e7c8ddf8b6690352 (diff) |
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>
Diffstat (limited to 'gnu/services')
-rw-r--r-- | gnu/services/docker.scm | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/gnu/services/docker.scm b/gnu/services/docker.scm index 741bab5a8c..c2023d618c 100644 --- a/gnu/services/docker.scm +++ b/gnu/services/docker.scm @@ -116,12 +116,7 @@ loop-back communications.") (requirement '(containerd dbus-system elogind - file-system-/sys/fs/cgroup/blkio - file-system-/sys/fs/cgroup/cpu - file-system-/sys/fs/cgroup/cpuset - file-system-/sys/fs/cgroup/devices - file-system-/sys/fs/cgroup/memory - file-system-/sys/fs/cgroup/pids + file-system-/sys/fs/cgroup networking udev)) (start #~(make-forkexec-constructor |