This is a small fork from https://github.com/puppetlabs/puppet-in-docker/puppetserver-standalone which is based on Ubuntu.
I prefer to run my stuff on Centos, so I've created this Dockerfile to start my studies with Docker.
Current is completely funcional and you can find some good examples on the mainstream repositories, but basically to run I recommend the follow steps:
- Create a Doeker network
docker network create puppet
- Run the puppetserver using this network
docker run --net puppet --name puppet --hostname puppet flamarion/puppetserver-standalone-centos7
Here the reference to the mainstream repo and doc
Something more personal
Besides the firsts topics, if you want to build locally you can simply perform
cd puppetserver-standalone-centos7 docker build --rm -t flamarion/puppetserver-standalone-centos7 .
- run detached (I prefer)
docker run -d --net puppet --name puppet --hostname puppet flamarion/puppetserver-standalone-centos7
- check logs
docker logs -f puppet