docker - Consul and registrator to single host, it's possible? -


i need use consul , registrator manage multiple docker container single host, use 'links" docker-compose.yml, remove links , use consul. have tested consul , registrator single host, ip assigned same of node. it's possible registrator assign ip of docker container instead of node ip?

it's possible using argument -internal.

from docs:

if argument -internal passed, registrator register docker0 internal ip , port instead of host mapped ones. (etcd, consul, , skydns2 now). -internal argument must passed before <registry-uri> argument.


Comments

Popular posts from this blog

apache - PHP Soap issue while content length is larger -

asynchronous - Python asyncio task got bad yield -

javascript - Complete OpenIDConnect auth when requesting via Ajax -