-
-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/var/lib/docker/overlay2 -> Disk full #271
Comments
Hello, thanks for asking this question. Docuum only cleans up images. My understanding is that Perhaps you can check to see if your machines have old containers lying around (e.g., with Unfortunately this does not seem related to Docuum in any way, so I will have to close this issue. But feel free to share an update in this thread in case it's helpful for anyone else! In the future, I think it could be nice for Docuum to clean up containers, volumes, etc. (contributions welcome)—but for now it only cleans up images. |
I think I may have spoke too soon. I saw some articles online saying conflicting things about what One thing that might be worth looking into is which Docker builder you are using (e.g., buildx?). Docker might be using that directory for the build cache. |
I think |
This can then maybe be a feature request instead of a bug. Would be nice to have one good way to clean up everything :) Thanks for investigating. We will go back to our old ways of cleaning up docker for now, but docuum does seem very intersting and promising! |
How much effort would it be to implement that, do you think? Can you point me to relevant parts of the code I can look at and need to potentially modify if needed? |
Description
We recently started using docuum on a few hosts and are seeing that the hosts quickly run out of disk space. We have set the docker usage limit to 500GB as we are hoping to keep some cached images. However, our main problem seems to be with the /var/lib/docker/overlay2 folder which seems to grow out of hand. When I ran
docker system prune -a -f
on a host, a ton was cleaned(a lot more than 500GB). So the question is, does docuum also clean up /var/lib/docker/overlay2 and is the content considered part of the threashold? The host has a 2TB disk which contains 357GB of other stuff, and the remaining was removed by runningdocker system prune -a -f
.Instructions to reproduce the bug
Environment information:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: