Skip to content

Instantly share code, notes, and snippets.

@bayendor
Forked from chernjie/logrotate.d-docker
Last active Oct 6, 2015
Embed
What would you like to do?
Logrotate docker logs, copy this file to /etc/logrotate.d/docker
/data/docker/containers/*/*-json.log {
daily
rotate 7
size 100M
compress
delaycompress
missingok
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment