Could you demonstrate a simple docker puppet integration?

0 votes
Jul 9 in Docker by Jhon
39 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
• 37,480 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,110 points

edited Oct 16, 2018 by lina 5,308 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,870 points
404 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,920 points
221 views
0 votes
2 answers