Skip to content

Commit

Permalink
Add logrotate for /var/lib/docker/containers/*/*-json.log;
Browse files Browse the repository at this point in the history
To revisit again when docker figure things out at:
docker/compose#1083
moby/moby#11485
  • Loading branch information
chernjie committed Apr 17, 2015
1 parent 87821f0 commit 0a5b0d9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions etc/logrotate.d/docker
@@ -0,0 +1,8 @@
/var/lib/docker/containers/*/*-json.log {
dateext
daily
rotate 365
compress
delaycompress
missingok
}

0 comments on commit 0a5b0d9

Please sign in to comment.