Open KnowZero opened 2 years ago
Hi @KnowZero,
thanks for filing this issue. I just want to make sure I understand your problem correctly. Is it the same issue that has been filed here? https://github.com/moby/moby/issues/9939
If you just run a regular docker system prune
does that remove the subvolumes as expected?
I also noticed that I have thousands of docker btrfs subvolumes and docker system prune -a --volumes
doesn't seem to do anything about them.
Hi @KnowZero, thanks for filing this issue. I just want to make sure I understand your problem correctly. Is it the same issue that has been filed here? moby/moby#9939 If you just run a regular
docker system prune
does that remove the subvolumes as expected?
No, it does not clean them up. Docker has wiped its hands of them as far as its concerned.
I am not sure if this is a bug or a feature request or maybe I am doing something wrong.
I am trying to implement usage of tilt with docker compose and rust with live updates. But after a few hours of working, I get errors that I am out of space and the source is the subvolumes in /var/lib/docker/bfrs/ so I tried switching to overlay2 and same issue of /var/lib/docker/overlay2/ taking up all the space. I tried adding pruning to the tilt file in hopes it would solve my problem but no luck.
Looking around, I see that the unused subvolumes taking up space is a known docker issue. But if it isn't cleaning up unused subvolumes, it makes it hard to develop on.
Is there a setting in tilt to fix this? or maybe some workaround? or am I simply doing something wrong?
tilt file:
docker compose file:
docker file:
Tilt doctor output: