SELinux: `Permission denied` accessing a bind-mounted directory on RHEL/Fedora.
IntermediateTroubleshootingStorage, volumes and disk space
Answer
Likely causes → Host directory has no container_file_t label.
Diagnose → ls -Z /host/dir; ausearch -m avc -ts recent.
Fix → Add :z (shared) or :Z (private) to the mount, or chcon -Rt container_file_t /host/dir. Never mount /home or / with :Z.
Prevent → Keep SELinux enforcing and label volumes.
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