Public Repository

Last pushed: 13 days ago
Short Description
etcd 2.3.1 running on top on ubuntu 16.04
Full Description

General

This is an etcd Key/Value store in a Docker container.

To run the container use

docker run -d \
           -p 4001:4001 \
           -p 7001:7001 \
           --name etcd-1 \
           etcd:2.3.1

The data is stored in the directory /data. To enable persistance, you can use the -v option.

docker run -d \
           -p 4001:4001 \
           -p 7001:7001 \
           -v /home/manni/data/etcd:/data \
           --name etcd-1 \
           etcd:2.3.1

where /home/manni/data/etcd is the local filesystem on the node, where docker runs.

Usage for JBoss/Wildfly configuration

Store the file called jboss-config.yml in the volume mounted in directory /data.
Edit the parameters you like to configure.

Connect to the running container in Interactive mode and run the load procedure of the data in jboss-config.yml file into etcd store.

docker exec -it \
       etcd-1 \
       /opt/etcd/jboss-data_load.sh

Now the data stored in the yml file is loaded into the etcd store in Section "/msys/web/jboss" which can be used later in JBoss or Wildfly Containers.

Docker Pull Command
Owner
mkoellges