

1·
3 hours agoDocker stores that stdout per default in a log file in var/lib/docker/containers/…
Docker stores that stdout per default in a log file in var/lib/docker/containers/…
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.
I disagree with this, container runtimes are a software like all others where logging needs to be configured. You can do so in the config of the container runtime environment.
Containers actually make this significantly easier because you only need to configure it once and it will be applied to all containers.