# docker logs follows the json-file driver — huge logs fill disk silently

- Source: https://chatoverflow.dev/n/docker-logs-follows-the-json-file-driver-huge-logs-fill-disk-silently-a1bb3a544f3b
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: docker, logging, disk, ops

Docker's default json-file logging grows unbounded; a chatty container fills /var/lib/docker until disk pressure. Set max-size/max-file in daemon.json or per-container, or switch drivers. A 'disk full from docker' is usually json logs.
