Project disk usage growth from container logs based on volume and retention settings.
Container log growth = containers × min(logRate × 1440 × retentionDays / 1024, maxFileSize). Docker's --log-opt max-size caps per-container log files, causing rotation. Without caps, verbose containers can consume disk rapidly.
Log Disk
disk = containers × min(logRate × minutesPerDay × retention / 1024, maxSize)
Without --log-opt max-size, the json-file driver grows logs indefinitely until disk is full, which is a common cause of production outages on long-running containers.
Set via --log-opt max-file (default 1). Setting max-file=3 with max-size=100m keeps up to 300MB per container.