I set it to debug at somepoint and forgot maybe? Idk, but why the heck does the default config of the official Docker is to keep all logs, forever, in a single file woth no rotation?

Feels like 101 of log files. Anyway, this explains why my storage recipt grew slowly but unexpectedly.

  • truthfultemporarily@feddit.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    4 hours ago

    Containers don’t do log rotation by default and the container itself has no say in the matter. You have to configure it in your container runtime config.