Sobes.tech
Junior

What are the three types of mounting in Docker?

sobes.tech AI

Answer from AI

Volume, Bind mount, tmpfs mount. Volumes are used for persistent storage of data outside the container. Bind mounts allow mounting a file or directory from the host system into the container, often used for development (when changes in the code on the host are immediately visible in the container) or for accessing host configuration files. Tmpfs mounts store data in the host's temporary memory (RAM), useful for storing non-sensitive or temporary information that should not be saved after the container stops.