etcd image for docker build on nuagebec/ubuntu:14.04 image
2.0K
Note : this project is under developpement. Your are welcome to contribute.
etcd image for docker build on nuagebec/ubuntu:14.04 image
etcd, a highly-available key value store for shared configuration and service discovery. etcd is inspired by Apache ZooKeeper and doozer, with a focus on being:
etcd is written in Go and uses the Raft consensus algorithm to manage a highly-available replicated log.
Use etcdctl for a simple command line client. Or, feel free to just use curl, as in the example below :
https://coreos.com/docs/distributed-configuration/getting-started-with-etcd/
/data/persistent to persist
4001 7001 Running
A simply way to obtain this variable is using this script
#/bin/sh
# If env. var. named ETCD_DISCOVERY isn't set, discover it
if [[ -z "$ETCD_DISCOVERY" ]]
then ETCD_DISCOVERY=$(wget https://discovery.etcd.io/new -O - ) && \
export ETCD_DISCOVERY ; fi
As discovery URL, starting your own is suggested. https://github.com/coreos/etcd/blob/master/Documentation/2.0/clustering.md#etcd-discovery
To bootstrap a cluster for discovery, use this URL to retreive a Profile and it's configuration : https://github.com/mikefaille/etcd-static-bootstrap
After, start docker using "docker-env-file" generated by "./gen-pub-discovery-URL.sh " ( this script erase and create new env. file each times) :
docker run -d -p 4001:4001 -p 7001:7001 -env-file docker_env_file nuagebec/etcd:latest
Content type
Image
Digest
sha256:67fecd67f…
Size
189.2 MB
Last updated
over 10 years ago
docker pull nuagebec/etcd