pickthenimp Posted October 11, 2017 Share Posted October 11, 2017 I got an alert my docker image utilization is at 100%. All of my dockers are configured to map folders to the cache disk. I fired up CADvisor and all of my dockers disk usage doesn't add up anywhere near to the 20GB I have provisioned. What else could be using all of the space? Quote Link to comment
pickthenimp Posted October 11, 2017 Author Share Posted October 11, 2017 (edited) du -ah /var/lib/docker/containers/ | grep -v "/$" | sort -rh | head -60 | grep .log I found the above command which tells me I have a 8.5 GB log somewhere in my docker: 8.5G /var/lib/docker/containers/651070b829a5e773eb905534612c7c3216f7b7003b93c50a35869b458a556002/651070b829a5e773eb905534612c7c3216f7b7003b93c50a35869b458a556002-json.log I did a 'rm' to remove this log file. Is this normal and will have to keep an eye out in the future? Edited October 11, 2017 by pickthenimp Quote Link to comment
Squid Posted October 11, 2017 Share Posted October 11, 2017 https://forums.lime-technology.com/topic/57181-real-docker-faq/#comment-564326 Too bad you didn't "cat" the file first. Then you would've been able to figure out which app was logging everything it did. Either do the above to all the apps, or check each app's logging "level" within their UI and lower it if possible. Quote Link to comment
pickthenimp Posted October 11, 2017 Author Share Posted October 11, 2017 Thanks. I’m sure the log will spew again and I will check it out in a few days. Sent from my iPhone using Tapatalk Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.