This image is the etcd base. It comes from alpine-monit.
docker build -t rawmind/alpine-etcd:<version> .
This image runs ectd with monit. Etcd is started with user and group "etcd".
Besides, you can customize the configuration in several ways:
Etcd is installed with the default configuration and some parameters can be overrided with env variables:
Etcd is installed under /opt/etcd and make use of /opt/etcd/bin/etcd-source.sh to generate env variables.
You can edit this files in order customize configuration
You could also include FROM rawmind/alpine-etcd at the top of your Dockerfile, and add your custom config.
If you are running it in rancher, you could run rancher-etcd as a sidekick to get dynamic configuration.
See rancher-example, that run zookeeper in a rancher system with dynamic configuration.