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