DEV Community

Discussion on: Docker high disk space usage 💾 📈

Collapse
 
lebinhan profile image
Lê Bình An

I have (most likely) the same problem a month ago. At first I blamed docker for not optimizing its garbage collection. But the real problems was because of me, after trying to search for solutions on the internet and found nothing, I started to investigate my configuration. Turn out, I choose at least 3 realtime bug logger for my project, every second, each of them logged like ~100-200 lines of project status and they 'ate' almost 200gb of storage every day. In the past when I still working with real host machine, I had a script that clean all of the logs for me so I forgot that they log that much. So for anyone who faces the same problems, consider to check your logger as they might be a pain in your neck latter on.