Interview Questions/Phone Screen/Docker Volume vs Bind Mount
IntermediatePhone
2 min

Docker Volume vs Bind Mount

DockerContainersStorage
Advertisement
Interview Question

What is the difference between a Docker volume and a bind mount, and when would you use each?

Key Points to Cover
  • Volume managed by Docker, stored in /var/lib/docker/volumes
  • Bind mount uses host filesystem paths directly
  • Use volume for portability and backups; bind mount for local dev
Evaluation Rubric
Defines volumes and usage34% weight
Explains bind mounts33% weight
Describes correct scenarios33% weight
Hints
  • 💡Volumes integrate better with orchestration.
Potential Follow-up Questions
  • How to inspect volumes?
  • How are named vs anonymous volumes different?
Advertisement