Public Repository

Last pushed: 8 days ago
Short Description
An image for running a Puppet Server standalone (ie. not connected to a PuppetDB instance)
Full Description

The Dockerfile for this image is available in the Puppet-in-Docker repository.

You can run a copy of Puppet Server with the following Docker command.

docker run --name puppet --hostname puppet puppet/puppetserver-standalone

Although it is not strictly necessary to name the container puppet, this is useful when working with the other Puppet images, as they will look for a master on that hostname by default.

If you would like to start the Puppet Server with your own Puppet code, you can mount your own directory at /etc/puppetlabs/code.

docker run --name puppet --hostname puppet -v ./code:/etc/puppetlabs/code/
 puppet/puppetserver-standalone

You can find out more about Puppet Server in the official documentation.

See the examples repository for fully worked examples, including running a full Puppet stack using Docker Compose.

Docker Pull Command
Owner
puppet

Comments (2)
mikaelsmith
3 days ago

As in, how do you get them, or where do you make them available to the server?

Mounting a volume/directory definitely works for server. I'd suspect getting the modules in the first place might be run via r10k or puppet module commands; either of those could be run in an agent container and use the same shared mounted volume.

gcardy
8 months ago

How are folks dealing with managing puppet modules?