0 votes
1 view
in Docker by (36.2k points)
recategorized by
Can anyone explain the Docker Volume?

1 Answer

0 votes
by (87.5k points)

In Docker, volumes provide us the ability to save data and also to share data between containers, Volumes are directories that are outside of the default Union File System and happens as normal directories and files on the host filesystem.

Some use cases for volumes include:

  • Sharing data among multiple running containers.
  • Volume is helpful if the Docker host is not guaranteed to have a given directory or file structure.
  • When you want to store your container’s data on a remote host or a cloud provider instead of storing locally.
  • Volumes are helpful if you need to back up, restore, or migrate data from one Docker host to another, volumes are a better choice

If you want to learn Docker from Industry experts, I recommend this Docker Training course by Intellipaat provides Instructor-led training, hands-on projects, and certification.

Also, watch this video on Docker:

Related questions

0 votes
1 answer
asked 4 days ago in Docker by Justin (1.1k points)
0 votes
1 answer
asked Sep 9 in Docker by Amyra (8.7k points)
0 votes
1 answer
asked Sep 9 in Docker by Amyra (8.7k points)
0 votes
1 answer
asked Jun 22 in Docker by Sudhir_1997 (36.2k points)
0 votes
1 answer
asked Jun 22 in Docker by Sudhir_1997 (36.2k points)
Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...