diff options
author | Leif Johansson <leifj@sunet.se> | 2015-02-24 11:12:06 +0100 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2015-02-24 11:12:06 +0100 |
commit | bc70832f4c33a458f2e913af702823539b2da7a1 (patch) | |
tree | 834959286a8b875a03bef4e08f224b11a3b09712 /global/overlay | |
parent | 0db53806e6d8ee9eb7e726077c81d8260850c6fd (diff) |
logrotate for docker containers
Diffstat (limited to 'global/overlay')
-rw-r--r-- | global/overlay/etc/logrotate.d/docker-containers | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/global/overlay/etc/logrotate.d/docker-containers b/global/overlay/etc/logrotate.d/docker-containers new file mode 100644 index 0000000..e9c90b8 --- /dev/null +++ b/global/overlay/etc/logrotate.d/docker-containers @@ -0,0 +1,7 @@ +/var/lib/docker/containers/*/*.log { + rotate 7 + daily + compress + delaycompress + copytruncate +} |