Docker with Puppet DNS allocation to the Docker Daemon

0 votes
I just started exploring docker using Puppet and i am stuck at this point where i don't know how to allocate a DNS server to the docker daemon? can somebody show me a way out? Thanks.
Aug 16, 2019 in Puppet by Dipika
366 views

1 answer to this question.

0 votes

Hey @Dipika, to allocate a dns server to the Docker daemon, add the following code to the manifest file:

class { 'docker':
  dns => '8.8.8.8',
}

Adding this snippet to your manifest will allocate a dns server to the Docker Daemon!

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

Related Questions In Puppet

0 votes
0 answers

Puppet+Docker: Rebuild an image with respect to changes in dockerfile

I am building a docker image via ...READ MORE

Aug 13, 2019 in Puppet by Sam
• 6,260 points
863 views
0 votes
1 answer

Docker with Puppet: How do i run the following command "docker build -t ubuntu /tmp/ubuntu_image" using puppet code?

 Hey @Liana, Including the docker_dir parameter is equivalent to ...READ MORE

answered Aug 16, 2019 in Puppet by Sirajul
• 59,230 points
680 views
0 votes
1 answer

Docker with puppet: Can I validate the puppetlabs/docker module?

Yes, you can! This module is compliant with ...READ MORE

answered Aug 16, 2019 in Puppet by Sirajul
• 59,230 points
544 views
0 votes
1 answer
+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,090 points
2,435 views
0 votes
1 answer

What's the need to integrate docker with puppet?

There are 3 core use cases for integrating docker with Puppet or with ...READ MORE

answered Aug 13, 2019 in Puppet by Sirajul
• 59,230 points
720 views
0 votes
0 answers
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