Could you demonstrate a simple docker puppet integration

0 votes
Jul 10, 2019 in Docker by Jhon
728 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 10, 2019 by Sirajul
• 59,230 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,220 points

edited Oct 16, 2018 by lina 33,988 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,100 points
2,657 views
0 votes
2 answers
+1 vote
2 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