0 votes
1 view
in Docker by (4.4k points)

Does Docker uses any specific path or location?

1 Answer

0 votes
by (25.8k points)
edited by

Volumes are stored in host file system managed by Docker (On Linux it uses /var/lib/docker/volumes/). Any other processes should not modify this part of the file system.

Bind mounts may be used to store anywhere in the host system. They might be important system file(s) or directories. Any other processes on the host or a container can modify these.

Want to Learn DevOps, check out this DevOps Course by Intellipaat.

Whereas the tmpfs mounts are stored in the host systems memory only. These are never written to the host system’s file system.

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Jul 29 in Docker by Amyra (9.2k points)
0 votes
1 answer
Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...