Sign inSign up

scottyc/consul

By scottyc

Updated almost 10 years ago

A container running Consul

Image
0

2.1K

scottyc/consul repository overview

#Consul scottyc/consul

Consul in a Alpine Linux docker container.

scottyc/consul

##Running

Create a Dockerfile in your project FROM scottyc/consul or go to scottyc/docker-consul for docker-compose files for a clustered set up. Copy the appriopriate docker-compose.yml (mater or slave) to serperate docker hosts. Change the <$JOIN_IP> and <$IP>. If all is configured correctly it will be as easy as docker-compose run. Note you need to have docker-compose installed

##Building docker run -p 8500:8500 -p 53:53/udp -h node1 scottyc/consul -server -bootstrap (for a simple single node)

Then login to http://dockerhostip:8500

Tag summary

Content type

Image

Digest

sha256:e4f18b801

Size

17.5 MB

Last updated

almost 10 years ago

docker pull scottyc/consul