Giter Site home page Giter Site logo

plancton-container's Introduction

Run Plancton from a Docker container

Container image containing the Plancton daemon. It is based on alpine Linux.

It uses a forwarded Docker socket exposed in /var/run/docker.sock.

The entrypoint.sh script periodically downolads configuration pointed in URL and puts it in CONFDIR. It runs in foreground mode inside the container afterwards.

Build

docker build -t plancton [--build-arg arg=<value>] .

Run

Run in interactively:

docker run --rm -it -v/var/run/docker.sock:/var/run/docker.sock --name plancton-nodaemon plancton

Run detached:

docker run -d -v/var/run/docker.sock:/var/run/docker.sock --name plancton-nodaemon plancton

Build variables

You can provide such variables to Docker via the --build-arg switch.

  • BRANCH: Name of the branch you want to pull Plancton from during build phase.

Runtime variables

You can provide such variables to Docker via the -e switch.

  • PLANCTON_CONF_URL: URL pointing to the Plancton configuration file. Plancton will not start if the configuration is not found.
  • PLANCTON_CONF_UPDATE: How frequently, in seconds, the configuration is updated. Failures will not destroy the current configuration and are not fatal.
  • PLANCTON_CONF_NOSSLVERIFY: Set it to 1 to skip SSL certificate verification when downloading the configuration file.

plancton-container's People

Contributors

mconcas avatar dberzano avatar

Watchers

 avatar

Forkers

dberzano

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.