Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
3 views
in Docker by (55.6k points)
recategorized by
Can anyone explain the Docker Volume?

1 Answer

0 votes
by (119k 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
0 votes
1 answer
asked Feb 11, 2021 in Docker by Amyra (12.9k points)
0 votes
1 answer
asked Feb 11, 2021 in Docker by Amyra (12.9k points)

Browse Categories

...