Docker macvlan network and container ip
MatthiasKammerlohr opened this issue · 2 comments
MatthiasKammerlohr commented
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 commented
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 commented
Hi minusdelta,
thank you - thats what i´m looking for! Works great :)