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 in Puppet by Kim
14 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 by Sirajul
• 25,700 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 in Puppet by Simran
80 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 in Puppet by Sirajul
• 25,700 points
21 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 in Puppet by Sirajul
• 25,700 points
17 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 in Puppet by Namik
• 1,200 points
12 views
0 votes
1 answer
0 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
• 56,540 points
156 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 in Puppet by Sirajul
• 25,700 points
26 views