Blame SOURCES/README.docker-latest-logrotate

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