[rootless] driver "btrfs" failed to remove root filesystem: Failed to destroy btrfs snapshot /home/<USER>/.local/share/docker/btrfs/subvolumes for <ID>: operation not permitted #41762
Labels
area/rootless
Rootless mode
area/storage/btrfs
kind/bug
Bugs are bugs. The cause may or may not be known at triage time so debugging may be needed.
Milestone
Workaround
Create the
~/.config/docker/daemon.json
with the following content and runsystemctl --user restart docker
Description
btrfs driver is not really expected to be supported for rootless, but it is automatically chosen by default when the host filesystem is btrfs (e.g. on Fedora 33 Workstation), and it does not work actually.
Steps to reproduce the issue:
sudo dnf install -y policycoreutils-python-utils && sudo semanage permissive -a iptables_t
docker-rootless-setuptool.sh install
export DOCKER_HOST=$XDG_RUNTIME_DIR/docker.sock
docker info
shows btrfs as the storage driverdocker run --rm busybox true
Describe the results you received:
Describe the results you expected:
It should work with btrfs, or it should chose fuse-overlayfs, not btrfs.
The latter one is my expected behavior, but the former one might be more ideal.
Additional information you deem important (e.g. issue happens only occasionally):
Fedora 33 Server users are unlikely to be affected because it does not use btrfs by default
Output of
docker version
:Output of
docker info
:The text was updated successfully, but these errors were encountered: