summaryrefslogtreecommitdiff
path: root/system/docker/config/docker.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'system/docker/config/docker.logrotate')
-rw-r--r--system/docker/config/docker.logrotate8
1 files changed, 8 insertions, 0 deletions
diff --git a/system/docker/config/docker.logrotate b/system/docker/config/docker.logrotate
new file mode 100644
index 0000000000..41f96a65d4
--- /dev/null
+++ b/system/docker/config/docker.logrotate
@@ -0,0 +1,8 @@
+/var/log/docker.log {
+ rotate 5
+ notifempty
+ missingok
+ size=5M
+ compress
+ delaycompress
+}