We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e070f7 commit 314d845Copy full SHA for 314d845
microk8s-resources/wrappers/run-containerd-with-args
@@ -53,7 +53,7 @@ RUNTIME="runc"
53
RUNTIME_TYPE="io.containerd.runc.v1"
54
SNAPSHOTTER=$(snapshotter)
55
56
-if mount | grep -q 'cgroup2 on /sys/fs/cgroup'; then
+if mount -t cgroup2 | grep -q 'type cgroup2'; then
57
RUNTIME_TYPE="io.containerd.runc.v2"
58
fi
59
0 commit comments