ibmcom/consul-ppc64le
Consul is a datacenter runtime that provides service discovery, configuration, and orchestration.
10K+
Supported tags: 0.8, 0.9.0
How to use Consul Container?
Verifying the consul binary: $consul
Consul agent in development mode: $docker run -dP --name=agent1 consul
You can list all the running agents with following command: $docker exec -i agent1 consul members
You can also get the detailed information of all the node from outside the container as follows: $curl localhost:MAPPED_PORT/v1/catalog/nodes Where MAPPED_PORT is the host port to which 8500 of container is mapped.
Consul agent in normal mode: $docker run -dP –name=agent1 consul agent
By default the development mode has UI enabled, but if you want to run it in non-development mode you have to
enable the UI with -ui option as follows:
$ docker run -dP --name=agent1 consul agent -ui
Now you can access the UI from browser with following url:
http://VM_IP:MAPPED_PORT
Where, MAPPED_PORT is the host port which is mapped to 8500 of container
docker pull ibmcom/consul-ppc64le