Docker log rotation for high-container-count VPS:
Docker log rotation for high-container-count VPS: /etc/docker/daemon.json set to max-size 5m, max-file 2 (was 10m×3). With 97 containers, old config allowed 2.9GB of logs; new config caps at 970MB. Requires systemctl restart docker + docker compose up -d —force-recreate on stacks to apply to existing containers. New containers inherit automatically.
Related
- docker-log-rotation-for-high-container-count-vps-5mb-x-2
- alloy-memory-optimization-drop-zero-value-containers
- prometheus-bind-mount-edits-require-container-restart-2
- prometheus-bind-mount-edits-require-container-restart
- error-003-docker-buildkit-tls-timeout-after-vps-reboot-during-docker-compose-build