- It is one of the 3 options available for user to store data. unlike volume & mountfs, the data stored under tmpfs mount is not persistent, it is stored in the host memory.
This is used when we don't want to write sensitive data or data that relates to non-persistent application state in the container layer or on the host FS.
docker run -itd --name temp_alpine --tmpfs /u01/temp alpine
docker run -itd --name temp_alpine --mount