Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expecting one service instance when providing the host ip #667

Open
dyeshurun opened this issue Aug 7, 2019 · 0 comments
Open

Expecting one service instance when providing the host ip #667

dyeshurun opened this issue Aug 7, 2019 · 0 comments

Comments

@dyeshurun
Copy link

  • Docker version 19.03.1
  • Latest registrator
  • running registrator with
    -resync=10
    -cleanup
    -deregister=always
    -ip=192.168.34.195
    consul://consul:8500

I am running a container named "demo-service" and when I am querying the consul for its instances I get 2 instances - one with the provided ip and one with the docker internal ip. I expected to have only one instance with the provided ip (note that when I don't provide it I only get one instance with the internal ip)

Is this the expected behavior? is there a way to get only one instance?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant