Docker
You're viewing a free preview. Sign in free to read every script.
Why this exists Docker's default logging driver, json file, stores everything a container prints to standard output and error in a file on the host, and it keeps all of it, for ever . There is no rotation and no limit…
Container Log Size Checker & Rotation Config
Why Docker's default logging can fill a disk (a chatty container wrote tens of megabytes in five seconds in the test), a script that shows every container's log size and rotation setting and flags the ones that will never stop growing, and the per-container and daemon-wide settings that fix it.
Sign in free to read this script, along with the rest of the library.
Sign in free