repomanz Posted December 3, 2020 Share Posted December 3, 2020 (edited) Hi unraid team - trying to trouble shoot why my current docker container is getting full (set at 45g). Running this command (docker container ps -s) I get this output (snippet). Note; the 12gb container is intentional (zone minder with object detection) but given the sum below I shouldn't be getting alerts. What other trouble shooting steps can I do here to find where docker / containers are bloating? Edited December 3, 2020 by repomanz Quote Link to comment
Squid Posted December 3, 2020 Share Posted December 3, 2020 Container size on the docker tab will also help to see where the bloat is. Usual cause of the image filling up is excessive logging and downloading into the image. There's a couple entries in the Docker FAQ about that. Quote Link to comment
repomanz Posted December 3, 2020 Author Share Posted December 3, 2020 hey @Squid - thanks for the tips. After observing the container size I discovered one of my containers had 8.5gb of log space because I was a baddy and forgot to turn debugging level off :). After fixing the app issue itself and adding this into the extra parameters "--log-opt max-size=50m --log-opt max-file=1" I'm good to go. 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.