diff --git a/logrotate.conf b/logrotate.conf index 005de07..09853fb 100644 --- a/logrotate.conf +++ b/logrotate.conf @@ -1,9 +1,10 @@ /var/lib/docker/containers/*/*.log { + missingok rotate 0 copytruncate sharedscripts - maxsize 10M + size 10M postrotate rm -f /var/lib/docker/containers/*/*.log.* endscript -} \ No newline at end of file +}