Puppet+Docker: How do i configure my docker container to use a NFS volume?

0 votes
Aug 13 in Puppet by Karan
• 1,800 points
13 views

1 answer to this question.

0 votes
docker_volume { 'nfs-volume':
  ensure  => present,
  driver  => 'local',
  options => {
    type   => 'nfs4',
    o      => 'addr=10.10.10.10,rw',
    device => ':/exports/data'
  },
}

Add this snippet to your manifest file. This will do!

answered Aug 13 by Sirajul
• 25,260 points

Related Questions In Puppet

0 votes
1 answer

Puppet+Docker: How do i configure a swarm if i am using windows server 2016.

There are a few considerations to be ...READ MORE

answered Aug 16 in Puppet by Sirajul
• 25,260 points
17 views
0 votes
1 answer

Puppet in Docker : How do i run my dockerized puppet container periodically?

Instead of running a Dockerized puppet container onetime, ...READ MORE

answered Aug 19 in Puppet by Sirajul
• 25,260 points
16 views
0 votes
1 answer

Puppet in Docker: How do I query PuppetDB API in a container setup?

PuppetDB exposes a dashboard, showing various operational ...READ MORE

answered Aug 20 in Puppet by Sirajul
• 25,260 points
14 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,520 points
153 views
0 votes
1 answer

Puppet+Docker: How do i configure my docker container to use a NFS volume through a Hiera config file?

If using Hiera, configure the docker::volumes class in the ...READ MORE

answered Aug 14 in Puppet by Sirajul
• 25,260 points
19 views