Post #1389512
2026-04-19 03:45 UTC
@lina that's because some folks have containers that don't output much logs but run for a long time, so that would be annoying for them. And auto rotating after e.g. 100MB would also be annoying for the folks who expect to be able to access multiple gigs of logs at once. And auto rotating on, say, X% of disk usage would lead to rather impredictible situations, which also sucks.
It's not great, but if you want to run docker in production, you're expected to take care of a few things - the same way that if you want to run prod stuff on, say, a Linux machine, you're expected to set up backups, log shipping, perform regular upgrades, etc. - these things are essential and if you don't do them, sooner or later stiff will break.
Replies (1)
-
@arichtman@eigenmagic.net 2026-04-19 03:49
@jpetazzo @lina I wonder if the systemd integration lifts most of that for you or ..