I manually deleted a docker managed subvolumes
btrfs subvolume delete /var/lib/docker/btrfs/subvolumes/<subvolume id>
but when I try to recreate it gives me this error that I'm not able to solve without nuclearize the docker installation
Error response from daemon: stat /var/lib/docker/btrfs/subvolumes/<subvolume id>: no such file or directory
already tried to stop/rm -f the container, docker system prune -f and systemctl restart docker.service to no avail
I also ended up with the error after deleting btrfs subvolumes myself (the bug that subvolumes are not freed by docker system prune still exists).
To recover, you have to delete /var/lib/docker as well:
systemctl stop docker
rm -rf /var/lib/docker
systemctl start docker
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With