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.img Making Small Writes Every 5-30 seconds?

Featured Replies

Presently, my appdata, system, and domains shares are on my 1TB NVMe cache drive, formatted in btrfs.
When Docker is set to enabled on my machine, I get consistent pulses of writes to the cache, even when zero containers are active or running. This happens in the high KiB to low MiB range once every 5 to 30 seconds.

My File Activity plugin displays no activity when this happens.

I am running Unraid 6.12.4

 

Since these writes are unnecessary and add up over time, I would like to identify the cause and prevent them from happening.
 

Does anyone know how to address this problem?

There is a verbose topic on this and offering different solutions or workarounds for it. I'm on mobile now, but if you search for it you should be able to find it.

  • Author

I've done further digging over the last week and haven't found any posts about the specific phenomenon I'm talking about.


There appears to be plenty of discussion on appdata writes from docker containers, but nearly all the writes I'm seeing are actually caused by docker.img itself on the system share on my cache drive.

When using inotifywait on appdata, I saw a fair amount of activity, but most of it did not align with the cache writes I was seeing. I instead opted to try running

inotifywait -r -e modify,delete,create,close_write -m /mnt/cache

which is when I discovered that the vast majority of write activity is listed as

/mnt/cache/system/docker/ MODIFY docker.img

 

This is strange to me, and I'm looking for more information on what could be causing these constant docker.img modifications.

Does anyone know how I can reduce this activity?

  • Author
On 12/17/2023 at 10:58 AM, BRiT said:

There is a verbose topic on this and offering different solutions or workarounds for it. I'm on mobile now, but if you search for it you should be able to find it.


While searching, I did find a comment you made some time ago where you mention configuring your containers so that no information from them is saved to docker.img.
Since I think it's possible docker containers are pushing data to that .img, how did you divert where information headed there is saved?

 

 

On 12/17/2023 at 11:31 PM, Inland-Empire said:

 I get consistent pulses of writes to the cache, even when zero containers are active or running.

This shouldn't happen.

 

Below post have some script could help you to identify what have write to docker image / folder. So you may mapping container folder to anywhere you like.

 

Edited by Vr2Io

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.