Puppet puppetlabs image build - where exactly should i use this module

0 votes
When i have puppetlabs/docker module to create and maintain docker, where exactly will this module puppetlabs/image_build be helpful.

I am confused, can somebody give some real time scenarios where i could use the later? Thanks.
Aug 23, 2019 in Puppet by Priya
948 views

1 answer to this question.

0 votes

The module puppetlabs/docker is for installing and managing docker. The Puppet docker module installs, configures, and manages docker from the docker repository. 

The module  puppetlabs/image_build - Build Docker images from Puppet code

The basic purpose of image_build is to enable building various images, including Docker images, from Puppet code

There are two main cases where this can be useful:

  1. You have an existing Puppet codebase and you're moving some of your services to using containers. By sharing the same code between container and non-container based infrastructure you can cut down on duplication of effort, and take advantage of work you've already done.

  2. You're building a lot of images, but scaling Dockerfile means either a complex hierachy of images or copy-and-pasting snippets between many individual Dockerfiles. image_build allows for sharing common functionality as Puppet modules, and Puppet itself provides a rich domain-specific language for declarative composition of images.

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

Related Questions In Puppet

0 votes
1 answer
0 votes
1 answer

What sort of Puppet Interview questions should I prepare?

Hey @Kajol, You can prepare something along ...READ MORE

answered Feb 15, 2019 in Puppet by Simran
693 views
0 votes
2 answers

Where do i find the puppet configuration file?

The puppet.conf file is always located at $confdir/puppet.conf. Although ...READ MORE

answered Aug 9, 2019 in Puppet by Sirajul
• 59,230 points
2,843 views
0 votes
1 answer

Why should i go with Puppet for config management?

Of course, there a lot of configuration ...READ MORE

answered Jul 29, 2019 in Puppet by Sirajul
• 59,230 points
495 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,714 views
0 votes
1 answer

Puppet+Kubernetes: Should i install Docker inorder to start using puppetlabs/kubernetes module?

The puppetlabs/kubernetes module installs and configures Kubernetes. You need ...READ MORE

answered Aug 23, 2019 in Puppet by Sirajul
• 59,230 points
756 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
800 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