advancedTop 100 Interview Questions

When would you use a tmpfs mount instead of a volume?

When data must never persist to disk at all — for example, temporary secrets or sensitive scratch data — since tmpfs is backed entirely by host RAM and disappears the moment the container stops, with nothing ever written to a physical disk.

This is a Pro chapter

Sign in, then upgrade to Pro or Power to unlock this and the full DevOps Mastery library.

When would you use a tmpfs mount instead of a volume?

Next Step

Continue to What happens to an anonymous volume created implicitly by a Dockerfile's VOLUME instruction if you don't bind it explicitly?← Back to all Docker questions