Blame SOURCES/README.docker-logrotate

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