`docker pull` fails: `failed to register layer: ... no space left on device` though df shows space.
AdvancedTroubleshootingStorage, volumes and disk space
Answer
Likely causes → Inodes, a quota (pquota/--storage-opt), or the layer extraction temp directory (/var/lib/docker/tmp) on a different small mount.
Diagnose → df -h /var/lib/docker /var/lib/docker/tmp /tmp; df -i; docker info.
Fix → Free or expand; set DOCKER_TMPDIR on a larger disk.
Prevent → Monitor all relevant mounts.
More on Storage, volumes and disk space
`no space left on device` while pulling an image or starting a container.Beginner`df` shows free space but Docker says no space: inodes at 100%.Advanced`/var/lib/docker/containers/<id>/<id>-json.log` is 50 GB.Beginner`docker system prune` did not free much although `docker system df` shows large "Reclaimable".IntermediateVolume data disappeared after `docker compose down -v` or `docker volume prune`.IntermediateData is not persisted: after container recreate the database is empty.Intermediate