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.

[6.4.1.] Docker Log Rotation not working…

Featured Replies

hi all,

 

i have 6.4.1 and activated log rotation for the first time, after discovering that this command works like a charm (from another thread): 

logs=$(find /var/lib/docker/containers/ -name '*.log');for log in $logs; do cat /dev/null > $log;done

and in that thread I learned about log rotation but its not working and so my docker.img is running full. only the above command helps to drop it from 8.9GB/10GB to 1.32GB

can you help figure out whats wrong?

Edited by phenomeus

3 minutes ago, phenomeus said:

hi all,

 

i have 6.4.1 and activated log rotation for the first time, after discovering that this command works like a charm (from another thread): 


logs=$(find /var/lib/docker/containers/ -name '*.log');for log in $logs; do cat /dev/null > $log;done

and in that thread I learned about log rotation but its not working and so my docker.img is running full. only the above command helps to drop it from 8.9GB/10GB to 1.32GB

can you help figure out whats wrong?

 

I've never had an issue with my docker.img filling up.  If I was going to take a guess on how log rotation works, it only takes effect the next time the log for container xxx has to rotate due to size.

 

Your better off right now that you've got your image down to 1.32G to see if it keeps massively growing due to logging by out of control application settings.

  • Author

its logging like this the ~5th time in a row. and this started with 6.4.1. 

have to check every app if there is something different…

 

Archived

This topic is now archived and is closed to further replies.

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.