`docker save` / `docker load` fails with `unexpected EOF` or `invalid tar header`.
IntermediateTroubleshootingStorage, volumes and disk space
Answer
Likely causes → Truncated transfer, disk full during save, gzip mismatch.
Diagnose → tar tf image.tar | head; sha256sum on both ends; df -h.
Fix → Re-save and verify checksums; docker save img | gzip > img.tgz and gunzip -c | docker load.
Prevent → Verify digests after transfer, or use skopeo copy with oci-archive.
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