2 weeks ago
p3k dots

TIL: Docker log rotation.

It turns out, Docker doesn't automatically rotate log files! As long as a container exists, the logs will keep growing for it. This means even if you stop a container and start it again, the logs are still there and getting bigger.