1

How can i disable usage of BTRFS volumes in docker ? Docker should behave as if it was installed on a normal ext4 or similar volume.

if docker detects a BTRFS file system, it seems to automatically create volumes for docker containers as BTRFS volumes. The file system connector for docker failed OFTEN in the past, corrupting its own volumes and BTRFS volumes created by other software, especially timeshift. Docker volumes were corrupted and no longer deleteable, same as timeshift volumes.

Alex
  • 21
  • 2
  • 5

1 Answers1

-1

Just mount /var/lib/docker in an ext4 volume (either a volume or a bind mount). If you're using the Snap version, uninstall it and install from APT.

If you need to delete forcibly or free space, you may run docker system prune -a, that will remove everything

Amitie 10g
  • 81
  • 1
  • 7
  • 1
    "docker system prune -a" is absolutele NOT removing all the inaccessible docker volumes. docker seems to be mismanaging the access rights and the mounting of the volumes, which makes docker USELES on certain machines with btrfs – Alex Aug 26 '20 at 12:12