Builds or pulls fail with ENOSPC; df shows /var/lib/docker full.
Layers, dangling images, and build cache accumulate forever unless pruned.
docker system dfdocker system prune -fFROM node:20 AS build ... FROM node:20-slim{"data-root": "/mnt/bigdisk/docker"}Scheduled prune + build with --no-cache only when you truly need it.
Spinning up a fresh box to reproduce or escape this error?
Servers with headroomNinjaOps publishes free engineering guides. Some outbound links are affiliate links: they cost you nothing and support the site.
Last reviewed 2026-10-02 · NinjaOps SEO grid · DevOps blog