Blame SOURCES/README.docker-logrotate

d03ac3
This package will install the 'docker-logrotate' script to
d03ac3
/etc/cron.daily. This script will run logrotate on all running
d03ac3
containers and ignore all failures.
d03ac3
d03ac3
This script is enabled by default. To disable it,
d03ac3
uncomment the line "LOGROTATE=false" in /etc/sysconfig/docker.
d03ac3
d03ac3
Possible issues:
d03ac3
1. This assumes that logrotate is installed on containers to run
d03ac3
successfully.
d03ac3
d03ac3
2. A race condition occurs if a container exits before 'docker
d03ac3
exec' run (though it's ignored)
d03ac3
d03ac3
3. Not all containers may need this (whether logrotate is installed or not)
d03ac3
d03ac3
Suggestions to improve this are welcome.