Problem/Justification
If I understand correctly, by default the docker daemon doesn’t have a log size limit. Users can specify logging options in compose files but I suspect most people won’t bother.
Impact
Container logs will eventually fill up drives if left unattended.
User Story
Since we are using the json-file
driver, we should set a sane (and maybe user configurable) max-size
limit in daemon.json
.