Table of Contents

HashiCOrp Consul

https://developer.hashicorp.com/consul/docs/intro

http://localhost:8500/ui/dc1/overview/server-status

In 2026, the MetaBrainz ServiceRegistrator is the definitive choice for teams who love the “Registrator pattern” but need a tool that isn't abandoned. Since it is written in Python and uses modern Docker and Consul SDKs, it is much more stable on current Ubuntu/Docker versions than the original Gliderlabs binary.

docker run -d \
  --name consul-dev \
  -p 8500:8500 \
  -p 8600:8600/udp \
  hashicorp/consul agent -dev -client=0.0.0.0

docker run -d \
  --name=serviceregistrator \
  --net=host \
  --volume=/var/run/docker.sock:/var/run/docker.sock \
  metabrainz/serviceregistrator:latest \
  --ip 192.168.1.10 \
  --consul-host 127.0.0.1


# now you can use the registrator

docker run --name nginx -d \
 -l consul.register=true \
  -l consul.ip=10.0.0.1 \
   -l consul.service=nginx \
    -l consul.tags=www,api \
     -l consul.port=80 \
      -l consul.kv.foo=bar \
       -l consul.kv.bar=baz \
        nginx

Check in consul

http://localhost:8500/ui/dc1/overview/server-status