Puppet in Docker Can i run puppet in docker on windows

0 votes
Can i run linux docker containers having puppet on windows? How's this possible?
Aug 20, 2019 in Puppet by vicky
851 views

1 answer to this question.

0 votes

With the release of the recent Docker for windows beta, it's possible to run Linux docker containers, including Puppet-in-Docker, on Windows. 

This isn't the same as the native Windows container support coming in Server 2016 but is still useful for local development purposes. 

  • To run Puppet in Docker on windows you'll first need to sign up for the Docker beta and install it on your Windows machine.

  • With docker running, open up a PowerShell prompt and create a docker network:

docker network create puppet
  • We can then run a copy of Puppet Server. The standalone part refers to the fact this image does not automatically connect to PuppetDB. In other cases you may prefer the puppet/puppetserver image.

docker run --net puppet --name puppet --hostname puppet puppet/puppetserver-standalone
  • The container should boot and once it is running, run a simple puppet agent in another container. 

  • Open up a second PowerShell window and run:

docker run --net puppet puppet/puppet-agent-ubuntu

For a detailed understanding refer to: https://github.com/puppetlabs/puppet-in-docker-examples/tree/master/developing-in-docker-on-windows

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

Related Questions In Puppet

0 votes
1 answer

Can I install puppet on windows?

Hey Neha, well, you cannot have puppet ...READ MORE

answered Feb 28, 2019 in Puppet by Anvit
1,299 views
0 votes
1 answer

Puppet in Docker : How do i run my dockerized puppet container periodically?

Instead of running a Dockerized puppet container onetime, ...READ MORE

answered Aug 19, 2019 in Puppet by Sirajul
• 59,230 points
1,123 views
0 votes
1 answer

Puppet in Docker: Can a docker container use Puppet only at Run-time?

Docker provides a solution to this problem ...READ MORE

answered Aug 19, 2019 in Puppet by Sirajul
• 59,230 points
758 views
0 votes
1 answer
+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
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