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

Docker macvlan network and container ip #654

Open
MatthiasKammerlohr opened this issue Mar 2, 2019 · 2 comments
Open

Docker macvlan network and container ip #654

MatthiasKammerlohr opened this issue Mar 2, 2019 · 2 comments

Comments

@MatthiasKammerlohr
Copy link

Hi,

we ware using docker swarm and macvlan networks to attach the containers direct to production network.
Is it possible to register containers directly with container ip from the macvlan network?

ps we are using registrator:master.

Many thanks

@minusdelta
Copy link

Mathias,

the "-internal" flag is what you are looking for - I use it with macvlan networks and it works fine.
But you have to decide, you cannot use this with "docker0 bridge external ip announcing" in parallel.

@MatthiasKammerlohr
Copy link
Author

Hi minusdelta,

thank you - thats what i´m looking for! Works great :)

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

2 participants