Could you demonstrate a simple docker puppet integration?

0 votes
Jul 9 in Docker by Jhon
18 views

1 answer to this question.

0 votes

Here's a simple demo of puppet-docker example:

Assuming you already have Docker installed and running on your machine:

  • First let’s create a simple Docker network.
docker network create puppet
  • With the network created, let’s launch an instance of Puppet Server:
docker run --net puppet --name puppet --hostname puppet puppet/puppetserver-standalone
  • Finally let’s run a simple agent:
docker run --net puppet puppet/puppet-agent-alpine

The output from both of the containers, shows the agent-master connection and a summary of the agent run. 

This example, just tells that the container will launch, connect to the Puppet Server, apply any required changes and then terminate.

It demonstrates the basic agent-master connectivity in a Hello World fashion. 

answered Jul 9 by Sirajul
• 5,960 points

Related Questions In Docker

0 votes
1 answer
+4 votes
4 answers

How To Access a Service on Host From a Docker Container?

Adding to kalgi's answer, You can also ...READ MORE

answered Oct 16, 2018 in Docker by lina
• 8,100 points

edited Oct 16, 2018 by lina 3,225 views
0 votes
1 answer

How to run a docker command from inside the container?

You must have come across the /var/run/docker.sock file, ...READ MORE

answered Jun 28, 2018 in Docker by Sophie may
• 9,430 points
267 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,160 points
99 views
0 votes
1 answer
0 votes
1 answer

What is a docker file? How do I create a docker image with dockerfile?

 A Dockerfile is a script/text configuration file that contains ...READ MORE

answered Jun 7 in Docker by Sirajul
• 5,960 points
249 views