logrotate for docker containers
This commit is contained in:
parent
0db53806e6
commit
bc70832f4c
7
global/overlay/etc/logrotate.d/docker-containers
Normal file
7
global/overlay/etc/logrotate.d/docker-containers
Normal file
|
@ -0,0 +1,7 @@
|
|||
/var/lib/docker/containers/*/*.log {
|
||||
rotate 7
|
||||
daily
|
||||
compress
|
||||
delaycompress
|
||||
copytruncate
|
||||
}
|
Loading…
Reference in a new issue