Volumes are used to share files between the host machine and container so that we can have persist data even after the container is stopped.
We can use the mount by using --mount type=tmpfs,destination=/app. To create tmpfs mounts, we don’t have to create a file structure in our host file system. We can mention only the destination file path and it will create the directory structure on its own.
Top comments (0)