글

라벨이 disk space troubleshooting인 게시물 표시

no space left on device - 12 Causes and Fixes for Docker, Linux and macOS

이미지
Docker just died with no space left on device , and df -h on your laptop probably still shows tens of gigabytes free. That mismatch is the problem: the message is the kernel's ENOSPC errno stringified by whatever tool happened to be writing, and it can mean out of data blocks, out of inodes , or out of room inside Docker's own virtual disk — three unrelated fixes. The tool printing the error almost never tells you which filesystem ran out. docker build reports it from inside a VM, Postgres reports it from /dev/shm , a CI runner reports it from a 14 GB ephemeral volume. This page gives you the one-command fix first, then 12 distinct causes with a reproduction and a fix for each, then a checklist for the case where none of them match. Error no space left on device Where it happens Any Linux filesystem write (ENOSPC, errno 28) - surfaced by Docker Engine / BuildKit, Docker Desktop on macOS and Windows, Node.js (ENOSPC), Postgres, apt/yum, Kubernetes kubelet, CI runne...