Sign inSign up

cyprien/registrator

By cyprien

•Updated about 10 years ago

Service registry bridge for Docker with pluggable backends. This forks add TLS support for consul.

Image
0

1.5K

cyprien/registrator repository overview

⁠Registrator

Service registry bridge for Docker, sponsored by Weave⁠.

Registrator automatically registers and deregisters services for any Docker container by inspecting containers as they come online. Registrator supports pluggable service registries, which currently includes Consul⁠, etcd⁠ and SkyDNS 2⁠.

Full documentation available at http://gliderlabs.com/registrator⁠

⁠This gliderlabs/registrator fork

This fork TLS support has been merged⁠ in the official gliderlabs/registrator project

This fork add TLS support for Consul Backend.

Run:

docker run -d --name=registrator --net=host  -v /var/run/docker.sock:/tmp/docker.sock -v /etc/certificates/:/etc/certificates/ -e CONSUL_CACERT=/etc/pmsipilot/docker-ca.crt -e CONSUL_TLSCERT=/etc/certificates/consul-client.crt -e CONSUL_TLSKEY=/etc/certificates/consul-client.key cyprien/registrator consul-tls://srv-consul.local:8543

⁠Getting Registrator

Get the latest release, master, or any version of Registrator via Docker Hub⁠:

$ docker pull gliderlabs/registrator:latest

Latest tag always points to the latest release. There is also a :master tag and version tags to pin to specific releases.

⁠Using Registrator

The quickest way to see Registrator in action is our Quickstart⁠ tutorial. Otherwise, jump to the Run Reference⁠ in the User Guide. Typically, running Registrator looks like this:

$ docker run -d \
    --name=registrator \
    --net=host \
    --volume=/var/run/docker.sock:/tmp/docker.sock \
    gliderlabs/registrator:latest \
      consul://localhost:8500

⁠Contributing

Pull requests are welcome! We recommend getting feedback before starting by opening a GitHub issue⁠ or discussing in Slack⁠.

Also check out our Developer Guide on Contributing Backends⁠ and Staging Releases⁠.

⁠Sponsors and Thanks

Ongoing support of this project is made possible by Weave⁠, the easiest way to connect, observe and control your containers. Big thanks to Michael Crosby for skydock⁠ and the Consul mailing list for inspiration.

For a full list of sponsors, see SPONSORS⁠.

⁠License

MIT

Tag summary

Content type

Image

Digest

Size

6.6 MB

Last updated

about 10 years ago

docker pull cyprien/registrator