# Consul and Rancher

**URL:** <https://forums.suse.com/t/consul-and-rancher/8078>\
**Category:** General\
**Created:** [December 20, 2017, 12:39pm UTC](https://forums.suse.com/t/consul-and-rancher/8078 "2017-12-20T12:39:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Evgeniy](https://avatars.discourse-cdn.com/v4/letter/e/ecccb3/32.png) [@Evgeniy](https://forums.suse.com/u/Evgeniy)\
**Post date:** [December 20, 2017, 12:39pm UTC](https://forums.suse.com/t/consul-and-rancher/8078/1 "2017-12-20T12:39:07Z")

</div>

Hi,  
we use consul for autodiscovery for our apps running in docker.  
App run on docker hosts and register service in consul (with IP address of docker host).  
Consul agent running with “advertise\_addr”: “\<docker\_host\_ip\>”,

At the moment we do not use rancher/kube or other orchestration tools.

Now we studying Rancher 2.0(kubernetes) for orchestration our app.

The question is not new, how can we register service in consul with docker\_host\_ip(kubernetes node IP) running through rancher / kubernetes with?

We should use [https://github.com/gliderlabs/registrator](https://github.com/gliderlabs/registrator) ?
