summaryrefslogtreecommitdiff
path: root/global/overlay/etc/logrotate.d/docker-containers
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2015-02-24 11:13:47 +0100
committerLeif Johansson <leifj@sunet.se>2015-02-24 11:13:47 +0100
commit7863ad617033064d6b5758d3d1f4bba32b9cc5dd (patch)
tree57cddfbc3b3ecbad158df496cb749bfc4ab355b7 /global/overlay/etc/logrotate.d/docker-containers
parentc6af45e481b4e089d4d48cdf5ac0831204def912 (diff)
parentbc70832f4c33a458f2e913af702823539b2da7a1 (diff)
Merge branch 'master' of git://github.com/leifj/multiverse into multiverse
Diffstat (limited to 'global/overlay/etc/logrotate.d/docker-containers')
-rw-r--r--global/overlay/etc/logrotate.d/docker-containers7
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
+}