What is the advantage of using volumes instead of bind mounts

0 votes
As far as i know i can use volumes and bind mounts interchangeably, then what's the advantage of preferring volumes over bind mounts?
Aug 19, 2019 in Puppet by Kim
720 views

1 answer to this question.

0 votes

Some of the key advantages for using volumes over bind mounts are:

  • Easier to back up or migrate rather than bind mounts (legacy volumes).

  • Managed with Docker CLI or API (Puppet type uses the CLI commands).

  • Works on Windows and Linux.

  • Easily shared between containers.

  • Allows for store volumes on remote hosts or cloud providers.

  • Encrypt contents of volumes.

  • Add other functionality

  • New volume's contents can be pre-populated by a container.

answered Aug 19, 2019 by Sirajul
• 59,230 points

Related Questions In Puppet

0 votes
1 answer

What is the use of etckeeper-commit-post and etckeeper-commit-pre on Puppet Agent?

Hey @Pallavi,  etckeeper-commit-post: In this configuration file you can ...READ MORE

answered Feb 15, 2019 in Puppet by Simran
1,147 views
0 votes
1 answer

What are the advantages of using Puppet as a CM tool?

Here's a list of a few advantages ...READ MORE

answered Jul 30, 2019 in Puppet by Sirajul
• 59,230 points
1,492 views
0 votes
1 answer

what is the usage of Puppet apply command?

Puppet apply- Applies a standalone Puppet manifest to ...READ MORE

answered Jul 30, 2019 in Puppet by Sirajul
• 59,230 points
2,575 views
0 votes
0 answers

Puppet+Docker: What is the equivalent of docker rm in Puppet code?

I was looking to remove a few ...READ MORE

Aug 13, 2019 in Puppet by Namik
• 1,230 points
763 views
+2 votes
1 answer
+2 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 58,020 points
2,715 views
0 votes
0 answers
0 votes
1 answer

what is the role of Facter in puppet?

Facter is a library that reports and ...READ MORE

answered Jul 25, 2019 in Puppet by Sirajul
• 59,230 points
1,245 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP