Debug School

Raju Maramulla
Raju Maramulla

Posted on • Updated on

Day3_Assignment

Q- How can we store container data in memory using docker volume

-tmpfs is the filesystem where the mounts will be stored in memory only while running the container, and it will be used at runtime.
-Data from tmpfs mount will not written to the disk and data from tmpfs will be lost once the container stops.

docker run -d --name docker_image_name--mount source=source_dir_path,target=target_dir_path ubuntu

Top comments (0)