DevOps · Flashcard

What are the three types of mounts available in Docker?

  • AVolumes, bind mounts, and tmpfs mounts — each serving different persistence and performance needs
  • BBlock mounts, object mounts, and network mounts — each mapped to a different cloud storage backend
  • CRead-only mounts, read-write mounts, and overlay mounts — each defining a different permission level
  • DHost mounts, container mounts, and shared mounts — each scoped to a different isolation boundary

Why this is the answer

Volumes are Docker-managed and preferred for production. Bind mounts map host paths directly. Tmpfs mounts live only in memory, useful for sensitive data that shouldn't persist to disk.

Official docs
Study in Gnoseed →