Tame the Log Flood

Cap a chatty container's logs before they eat the disk.

A advanced Docker challenge worth 20 points. Solve it hands-on in a real Docker environment in your browser - no local setup, no fake shells.

The Challenge

Scenario: Last month a container's log file grew to 40GB and took the node down. chatty logs ten lines a second with no rotation.

Tasks: recreate chatty (same image + a looping echo command) with:

Commands to learn: --log-driver, --log-opt, docker inspect (LogConfig)

Run check when done.