Container writable layer huge: `docker ps -s` shows SIZE 20GB (virtual 21GB).
IntermediateTroubleshootingStorage, volumes and disk space
Answer
Likely causes → App writes data/logs/temp files into the container FS.
Diagnose → docker ps -s; docker diff c | head; docker exec c du -xh / | sort -h | tail.
Fix → Move data to volumes, clean temp files, add log rotation.
Prevent → Read-only root FS reveals such writes early.
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