Public Repository

Last pushed: 2 years ago
Short Description
Use metadata to config your containers
Full Description

based on docker-register (jwilder/docker-register), except with Labels instead of Env vars, and allowing arbitrary config informaton. Description for how to use it are at:

https://github.com/evizitei/ringleader

Quickstart:

$> docker run -p 4001:4001 -p 2380:2380 -p 2379:2379 -v /var/run/docker.sock:/var/run/docker.sock evizitei/ringleader

etcd is now running on port 4001, other containers can ask for config information there about their sibling containers. Containers that want to register configuration information add metadata to their dockerfile like this:

LABEL etcd_conf_key="base_key"
LABEL etcd_conf_data="{\"key1\"=\"value1\",\"key2\"=\"value2\"}"
Docker Pull Command
Owner
evizitei

Comments (0)