-
Notifications
You must be signed in to change notification settings - Fork 15
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
Provide IP for each docker via label #17
Comments
Why would you need that? |
I want to use different ips for each docker, that I don't have to look after witch port is available and witch not. |
This is not how it works ... |
But i want for security reasons, that some container get their own ip (for example: Firewall-Rules). I know, that this is not the typical way to use Docker. But I believe that more people then I need this. Maybe that you can set an default with the BIND_IP ENV, but that you can override the default with an Label. |
@Svenum I think I understand what you're asking for but how are you assigning the IPs to the containers? Are you not using some CNI plugin which assigns routable IPs? As long as docker is doing the assigning, the correct IP should be picked up. You can confirm what traefik-kop sees by checking the output of |
@Svenum there's another provider config option called |
@chetan yes, that is what i am looking for, will try it and tell the result. |
That is not working because traefik-kop is everytime sending the "BIND_IP" IP to traefik.
|
It would be nice to add for each docker a own "bind_ip". Maybe via label. So that you can multiple IPs.
example:
If you don't have this feature you need a second reverse-proxy, or not?
The text was updated successfully, but these errors were encountered: