setup rootless: use overlay2 instead of fuse-overlayfs

This commit is contained in:
Viyurz 2023-12-08 14:52:26 +01:00
parent 99b544491e
commit 63ac77f565

View file

@ -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