From 63ac77f565871292d6a0d74e12b4447f6adc5469 Mon Sep 17 00:00:00 2001 From: Viyurz <128215328+Viyurz@users.noreply.github.com> Date: Fri, 8 Dec 2023 14:52:26 +0100 Subject: [PATCH] setup rootless: use overlay2 instead of fuse-overlayfs --- setup-rootless.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/setup-rootless.sh b/setup-rootless.sh index 9aa70a2..95ed4e3 100755 --- a/setup-rootless.sh +++ b/setup-rootless.sh @@ -1,6 +1,6 @@ #!/bin/bash -sudo apt install -y uidmap fuse-overlayfs slirp4netns rootlesskit +sudo apt install -y uidmap slirp4netns rootlesskit if ! grep -q '/usr/share/docker.io/contrib' "$HOME/.profile" > /dev/null; then echo 'export PATH="/usr/share/docker.io/contrib:$PATH"' >> "$HOME/.profile" @@ -14,6 +14,4 @@ sudo loginctl enable-linger "$USER" PATH="/usr/share/docker.io/contrib:$PATH" dockerd-rootless-setuptool.sh install -echo '{"storage-driver": "fuse-overlayfs"}' > "$HOME/.config/docker/daemon.json" - systemctl --user enable --now docker