summaryrefslogtreecommitdiff
path: root/global/overlay/etc/logrotate.d/docker-containers
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2015-02-24 11:19:10 +0100
committerLeif Johansson <leifj@sunet.se>2015-02-24 11:19:10 +0100
commite2cc0bc80fa8cfab7fecb04677a45a4f51cb561e (patch)
tree09d540d53a1d9fa49fea52d4b1339d7a51846ac4 /global/overlay/etc/logrotate.d/docker-containers
parentc3415f304e2f11bdbf153bdb8e810e89311fc7a4 (diff)
parent7863ad617033064d6b5758d3d1f4bba32b9cc5dd (diff)
merge multiversesunet-ops-2015-02-24-v01
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
+}