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 in Puppet by Priya
35 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 by Sirajul
• 40,990 points

Related Questions In Puppet

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 in Puppet by Simran
54 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 in Puppet by Sirajul
• 40,990 points
69 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 in Puppet by Sirajul
• 40,990 points
21 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
• 57,300 points
263 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 in Puppet by Sirajul
• 40,990 points
41 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 in Puppet by Sirajul
• 40,990 points
27 views