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 03b1b89 commit 20f68b0Copy full SHA for 20f68b0
ami/scripts/shared/docker.sh
@@ -36,8 +36,9 @@ blacklist dccp
36
blacklist sctp
37
EOF
38
39
-# Enable cgroups2
40
-# sed -i 's/GRUB_CMDLINE_LINUX="\(.*\)"/GRUB_CMDLINE_LINUX="systemd.unified_cgroup_hierarchy=1 \1"/g' /etc/default/grub
+# Disable cgroups2
+sed -i 's/GRUB_CMDLINE_LINUX="\(.*\)"/GRUB_CMDLINE_LINUX="systemd.unified_cgroup_hierarchy=0 \1"/g' /etc/default/grub
41
+update-grub
42
43
# Install containerd
44
curl -sSL https://github.com/containerd/nerdctl/releases/download/v0.14.0/nerdctl-full-0.14.0-linux-amd64.tar.gz -o - | tar -xz -C /usr/local
0 commit comments