Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Docker Image growing slowly for no reason

Featured Replies

Hi All,

 

i have a weird problem where my docker image keep growing 1%~2% on daily basis, i have try delete the image and rebuild all my docker, and it recover back to around 50+%, then it will start growing again.

 

i have 40G for docker image. i not sure how to identified what is wrong and where to start.

 

i install the spaceinvender docker check script and run, didnt c anything weird.

 

this is the output of the script,

image.thumb.png.41eff051e21beadde944a97828300cc3.png

 

 

by right only use up to 20+ G but now is using near 93%, mean 36G +++

image.png.68ef40ff40662c516ea42a021fbe44be.png

 

anyone can help?

  • Author

few day pass now is 96%

anyone have any ideal where i should start looking?

 

image.png.0bb0dc1eb28278ca19aff5e51b58c6c1.png

That is hard to tell, as every container is written differently and has to be operated differently. If your docker image utilisation grows slowly, something has to write data to a non-mount-bind path. Here, you're part start: Collect data, a lot of it. I would start by cleaning the system, get it back to the origin state. Get a full report of the utilisation. Wait until it fills up again, make anther snapshot of the data. At this point you have two states you can compare against each other and draw conclusions.

 

That done, you can start a more in-depth analysis. Why is that specific container filling up? I do not know if Docker has a build in function to list the Containers file-system by size, probably not. Check the known configuration for logs, temp data, etc. Check it against your container if it could be the case. At that point you also have something more specific you could ask the community.

 

Based on the image you provided so far, your AI-Server takes most of the storage. Don't know the specific container, but it sounds like a candidate to eat through a lot of space. 

  • Author

thanks @Bastian,

ok now i understand, the total usage is the the one on the from value + virtual?

 

example:

214MB (virtual 576MB) Is being taken up by ......... linuxserver/plex

 

mean for this will be (214MB + 576MB),

 

i do some match and i does add up to the total near 36G.

 

i tot the total space is "Images taking up" + "Containers taking up", which didnt added up to 36G. never tot to do manual calculation.

 

 

so it is the AI server taking up (virtual) space, meaning there are folder where the it store some of the files but it didnt clear.

 

the virtual folder is like the working directory of the container right?

 

ok good info, at least know where to start.

 

so i need to find a way to find out y the virtual folder keep on growing and identified the old files/log and auto purge it.

 

did i get the ideal right?

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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.