GithubHelp home page GithubHelp logo

skloeckner / docker-foreman Goto Github PK

View Code? Open in Web Editor NEW

This project forked from carlossg/docker-foreman

0.0 1.0 0.0 123 KB

Docker image to run Foreman

License: Apache License 2.0

Shell 100.00%

docker-foreman's Introduction

docker-foreman

A simple Docker image to run Foreman

Running

Set -h to a hostname, that's what Foreman and Puppet will use as fqdn.

docker run -ti -h foreman.local --name foreman -p 443:443 -p 8443:8443 -p 8140:8140 csanchez/foreman

Then go to port 443 of your docker host (e.g. http://localhost:443)

To see more hosts in Foreman, you can run more Puppet agents

docker run --link foreman:puppet --rm -ti csanchez/foreman /puppet-agent.sh puppet

Then sign the new certificate in Foreman under Infrastructure -> Smart Proxies -> Certificates.

If you want to open a shell session and play with the installed Puppet and other tools

docker run -ti -h foreman.local -p 8443:443 csanchez/foreman bash

Then run foreman-installer to customize the instance with the new hostname, and anything else you want to run.

foreman-installer
puppet agent --test
...

Customizing

Create your Dockerfile and run any commands, eg. to install the docker plugin (csanchez/foreman-docker image)

FROM csanchez/foreman
RUN yum -y install ruby193-rubygem-foreman_docker

Building

docker build -t csanchez/foreman .

docker-foreman's People

Contributors

carlossg avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.