A (slightly) adjusted Docker container based on GliderLabs Docker Consul image. The adjustments add in a configuration that enables the ACLs and give a initial master key of SomeMasterToken
The start process is the same as the base container. Refer to the GliderLabs Docker Consul page for finer details.
To get up and running quickly, you can use:
docker run -p 8400:8400 -p 8500:8500 -p 8600:53/udp -h node1 --name consul collinsongroup/consul -server -bootstrap -ui-dir /ui
This will give you a single node running the web interface on port 8500.
To start a cluster master, you can use the inbuilt script to give you a run command:
> docker run --rm collinsongroup/consul cmd:run <your advertise IP address> -d -v <your mount point here>:/data
You can either directly eval or modify and run this command to start you server.
Likewise, you can use the script to add a node:
> docker run --rm collinsongroup/consul cmd:run <your advertise IP address>::<master node address> -d -v <your mount point here>:/data