October 18, 20196 yr I hope this is the correct area for this question. Every once in a while I get an email notification that says "unRAID Status: Warning - Docker image disk utilization of 88%. Then later it I get a "returned to normal" email. My docker and app data are stored on a cache disk (SSD) that is only used for appdata. It's a 250 GB disk and 27% full. I have attached two images that show my docker settings and memory usage (which shows docker usage at 76%). Is it possible when my Plex app is transcoding and/or doing DVR recording, and using up too much memory? If so can this be offloaded to the SSD Cache? I have plenty of cache drive space, is there a setting wrong that is driving it to use memory instead of the cache disk? how do I get more Docker Image space? Thanks for any help. Edited October 19, 20196 yr by TODDLT
October 18, 20196 yr Community Expert You should probably prob9de a screenshot of the settings you have for your Plex docker container if that is the one you suspect might be causing your issue.
October 18, 20196 yr The docker image utilization will grow and shrink normally during container updates. If you don't want the warnings, either expand the image so the temporary growth during updates doesn't pass the warning level, or change the warning level up a couple points until you don't get it during normal updates. If there is too little space, the container update may fail, possibly corrupting the image forcing you to recreate it. What I do is make sure there is enough free space inside the image so normal updates don't cross the warning threshold.
October 18, 20196 yr Author 6 hours ago, jonathanm said: The docker image utilization will grow and shrink normally during container updates. If you don't want the warnings, either expand the image so the temporary growth during updates doesn't pass the warning level, or change the warning level up a couple points until you don't get it during normal updates. If there is too little space, the container update may fail, possibly corrupting the image forcing you to recreate it. What I do is make sure there is enough free space inside the image so normal updates don't cross the warning threshold. How do you expand the size of the docker image? Is this housed in RAM, or in Cache? None of my dockers "auto-update" and this warning comes around at seemingly random times. What "update" would be occurring to cause this? 14 hours ago, itimpi said: You should probably prob9de a screenshot of the settings you have for your Plex docker container if that is the one you suspect might be causing your issue. I'll provide this when I get home in the hour.
October 18, 20196 yr 12 minutes ago, TODDLT said: How do you expand the size of the docker image? Generally, you docker.img should never need to be any larger than 20GB. If it needs to be larger than that, that's usually an indication that some docker container(s) are configured improperly and are storing data in docker.img.
October 18, 20196 yr 11 minutes ago, TODDLT said: How do you expand the size of the docker image? Settings - docker. Stop the service, increase the size, restart the service 12 minutes ago, TODDLT said: Is this housed in RAM, or in Cache? Wherever you've set it in Settings - Docker. Usually on the cache drive 15 hours ago, TODDLT said: Every once in a while I get an email notification that says "unRAID Status: Warning - Docker image disk utilization of 88%. What you want to do is go to Docker, and then hit Calculate Container Size when that happens, and before you get 15 hours ago, TODDLT said: "returned to normal" email. Net result is that some app is storing stuff within the docker image and then it gets moved out / deleted. Plex is a possibility, but download clients are IMO more common for this.
October 19, 20196 yr Author 3 hours ago, Squid said: Settings - docker. Stop the service, increase the size, restart the service Wherever you've set it in Settings - Docker. Usually on the cache drive What you want to do is go to Docker, and then hit Calculate Container Size when that happens, and before you get Net result is that some app is storing stuff within the docker image and then it gets moved out / deleted. Plex is a possibility, but download clients are IMO more common for this. Thanks! It's been long enough since I first enabled Dockers I wasn't remembering. The image file was set to 10GB and I upped it to 30GB so now down to 23% usage. There is also something called Log rotation, which I imagine is saving 1, 2, or 3 files in history for troubleshooting purposes. Mine was set to 1 file 50 MB in size. I upped it to 3 files 100 MB. Not sure in relative terms how big this should be with on 7 dockers installed and 3 that run under daily normal situations. I assume the more dockers you have running the larger that file should be? Doesn't seem particularly important at this point but no download clients installed here. The only real active Docker is Plex. Thanks again, that should hopefully solve the issue. Edited October 19, 20196 yr by TODDLT
October 19, 20196 yr 25 minutes ago, TODDLT said: I assume the more dockers you have running the larger that file should be? The log rotation is per app. 1 file @ 50MB is more than enough.
December 15, 20214 yr On 10/18/2019 at 2:14 PM, JonathanM said: The docker image utilization will grow and shrink normally during container updates. If you don't want the warnings, either expand the image so the temporary growth during updates doesn't pass the warning level, or change the warning level up a couple points until you don't get it during normal updates. If there is too little space, the container update may fail, possibly corrupting the image forcing you to recreate it. What I do is make sure there is enough free space inside the image so normal updates don't cross the warning threshold. How do I change the warning levels? I don't see why I should be getting constant warnings just because I'm at 70%.
October 2, 20232 yr Excuse my ignorance but I've had a 40gb docker image allocation for a while and not noticed it being an issue, I have now upped this to 100gb as I've been getting warnings it's almost full.. I've recently set up compreface and doubletake alongside frigate. Where do I begin to work out why the docker image is getting so large? I have 38 docker containers deployed, so unsure where I should begin?
October 2, 20232 yr Community Expert There is a SpaceInvader video about this (do not have link to hand) so that is probably worth looking at as there is no way it should be filling up if all containers are correctly configured to point to mapped volumes for their working storage.
November 21, 20232 yr On 10/18/2019 at 11:10 PM, Hoopster said: Generally, you docker.img should never need to be any larger than 20GB. If it needs to be larger than that, that's usually an indication that some docker container(s) are configured improperly and are storing data in docker.img. Hi. @Hoopster, does this rule of thumb apply to everyone, or only to those who doesn't use UnRaid as a virtualization server with 25 containers running? 😁
November 21, 20232 yr On 10/2/2023 at 7:47 PM, itimpi said: There is a SpaceInvader video about this (do not have link to hand) so that is probably worth looking at as there is no way it should be filling up if all containers are correctly configured to point to mapped volumes for their working storage. For those who stumble upon this topic in the future, here's the video.
November 22, 20232 yr 23 hours ago, semioniy said: Hi. @Hoopster, does this rule of thumb apply to everyone, or only to those who doesn't use UnRaid as a virtualization server with 25 containers running? 😁 The docker.img file is used to store the executable code for each container. Even with 25 containers, 20GB is generally enough, if the containers are properly configured; there may be exceptions if some of the containers are unusually large. At one time I had 20 docker container installed and was using only ~12-13B in docker.img. A couple of those were 1-2GB in size. In the Docker tab you can click on the button to see how much space each container is occupying in docker.img. If some look unusually large, it is likely that data is being stored in the container due to improper configuration Edited November 22, 20232 yr by Hoopster
November 24, 20232 yr Well, I ran the script from SpaceInvader1, and it didn't find any problems, and could free respectable 175KB of space 😁 So, I guess I'll assume it's all good. BTW, On 11/22/2023 at 3:56 PM, Hoopster said: At one time I had 20 docker container installed and was using only ~12-13B in docker.img. doing simple math - 14GB would be 70% of default 20GB, and crossing this threshold would give you a utilization warning. Having 13GB with 20 containers installed, 1 or 2 additional containers (or even a container updating) could already give you a warning, forcing you to either increase the utilization level warning threshold, or enlarge your docker image. So, I think I'll chill and won't worry too much about not following the "20 GB should be enough" rule, given how much I love to play around with docker 😁 Edited November 24, 20232 yr by semioniy
March 13, 20242 yr On 11/22/2023 at 3:56 PM, Hoopster said: The docker.img file is used to store the executable code for each container. Even with 25 containers, 20GB is generally enough, if the containers are properly configured; there may be exceptions if some of the containers are unusually large. At one time I had 20 docker container installed and was using only ~12-13B in docker.img. A couple of those were 1-2GB in size. In the Docker tab you can click on the button to see how much space each container is occupying in docker.img. If some look unusually large, it is likely that data is being stored in the container due to improper configuration I've got 52 running containers with 107GB in use. It isn't growing except for whilst running updates. Most containers that use a lot of space, are the ones that already have large Images. How would you honestly stay below the 20GB? Isnt the complete installation of the image also in the docker image? The executables?
November 11, 20241 yr I realize I'm responding to a thread that's nearly a year old. I landed here after getting a bunch of alerts about the docker image utilization. Can anyone expand a little bit on why it might be a bad idea to increase the size of the docker.img volume? It seems like the Nextcloud AIO containers can grow fairly large.
November 11, 20241 yr Community Expert It's not necessarily bad to increase, but the usual reason for growth is an application writing to a path that isn't mapped. That should be looked at and understood before increase. And if it continues to grow something isn't right. If you fill btrfs it will corrupt.
June 25, 20251 yr I tried the Container Size button and it isn't matching up with what I've got on the Dashboard.Somehow I'm using up 98% of 60GB*UpdateI just read the settings to my own Jellyfin container. Edited June 25, 20251 yr by CrimsonChin
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.