# Tmpfs Mounts

> What is a tmpfs mount in Docker, and when would you use one instead of a volume or bind mount?

Canonical: https://www.internhack.in/learn/interview/docker-containers/docker-tmpfs-mounts
Last updated: 2026-11-28

Difficulty: Intermediate

## Question

What is a tmpfs mount in Docker, and when would you use one instead of a volume or bind mount?

*The full answer is for InternHack members. Open the page link above to read it.*

## Concepts covered

tmpfs, In-memory Filesystem, --mount type=tmpfs, Read-only Containers, Secrets Handling

Previous: [HEALTHCHECK](https://www.internhack.in/learn/interview/docker-containers/docker-healthcheck-instruction) · Next: [Compose Scaling](https://www.internhack.in/learn/interview/docker-containers/docker-compose-scaling) · [All of Docker & Containers](https://www.internhack.in/learn/interview/docker-containers)

## More Docker & Containers questions

- [Docker Context](https://www.internhack.in/learn/interview/docker-containers/docker-context-management)
- [Storage Drivers](https://www.internhack.in/learn/interview/docker-containers/docker-storage-drivers)
- [Kill vs. Stop](https://www.internhack.in/learn/interview/docker-containers/docker-kill-vs-stop)
- [Renaming Containers](https://www.internhack.in/learn/interview/docker-containers/docker-rename-container)
- [Pause/Unpause](https://www.internhack.in/learn/interview/docker-containers/docker-pause-unpause)
- [ONBUILD](https://www.internhack.in/learn/interview/docker-containers/docker-onbuild-instruction)

## Related

- [Learn](https://www.internhack.in/learn)
- [Interview Prep](https://www.internhack.in/learn/interview)
- [Docker & Containers](https://www.internhack.in/learn/interview/docker-containers)
