Skip to content
demo: etcd destributed key-value store
Branch: master
Clone or download
Pull request Compare This branch is 6 commits ahead of guessi:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Etcd - distributed key-value store


  • Docker-CE 18.06+
  • Docker Compose v1.23.1+

Docker Usage

$ docker-compose up -d

$ docker exec -it etcd1 etcdctl set secret password

$ docker exec -it etcd1 etcdctl get /secret

REST Request usage

./ put_dir "/myapplication"
./ put_dir "/myapplication/service1"
./ put_dir "/myapplication/service2"

./ put "/myapplication/service1/mykey1=value1"
./ put "/myapplication/service2/mykey2=value2"

./ get

Docker Images

You can’t perform that action at this time.