Diagnostic step 1
Confirm inode exhaustion: df -i /var/lib/docker and ls -lah /var/lib/docker/overlay2 | wc -l to estimate entries.
Generated Oct 24, 2026, 9:21:01 AM
Confirm inode exhaustion: df -i /var/lib/docker and ls -lah /var/lib/docker/overlay2 | wc -l to estimate entries.
Short-term: schedule maintenance window, stop docker.service, move /var/lib/docker to a larger partition (rsync -a), update /etc/docker/daemon.json {"data-root":"/mnt/docker"}, restart daemon. Verify by docker pull.
Medium-term: rebuild filesystem with larger inode density (mkfs.ext4 -i smaller_bytes_per_inode) or migrate to XFS on a new partition. Test on a non-prod runner first.
Reduce churn: use slimmer base images, multi-stage builds, and shared build cache (registry) to avoid frequent full-layer pulls.
Automate periodic pruning of unused images and containers and monitor inode usage with alerts.