Comments (8)
Why would you need that?
This tool is meant to manage containers on one machine, so they should all have the same ip ...
from traefik-kop.
I want to use different ips for each docker, that I don't have to look after witch port is available and witch not.
from traefik-kop.
This is not how it works ...
All the ports have to be available on the host machine so they can be accessed by Traefik
from traefik-kop.
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.
from traefik-kop.
@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 docker inspect <container id>
. The logs of the latest version of traefik-kop
should also show you what host:ip
combination are being published.
from traefik-kop.
@Svenum there's another provider config option called useBindPortIP
that I was previously unaware of. Would exposing this option solve your problem?
from traefik-kop.
@chetan yes, that is what i am looking for, will try it and tell the result.
from traefik-kop.
That is not working because traefik-kop is everytime sending the "BIND_IP" IP to traefik.
I want somthing like this:
+---------------------+ +---------------------+
| | | |
+---------+ :443 | +---------+ | XXX.XXX.0.10:8088 | +------------+ |
| WAN |--------------->| traefik |<---------+---------------------->| svc-nginx | |
+---------+ | +---------+ | | | +------------+ |
| | | | | |
| +---------+ | | XXX.XXX.0.13:443 | +-------------+ |
| | redis | | +---------------------->| svc-apache | |
| +---------+ | | +-------------+ |
| ^ docker1 | | docker2 |
+-------|-------------+ | +-------------+ |
+-------------------------------------->| traefik-kop | |
| +-------------+ |
+---------------------+
from traefik-kop.
Related Issues (20)
- Doesn't work with multiple services on one container HOT 3
- Go Crash in hostedtoolcache HOT 5
- setting port for tcp service does not work HOT 10
- Default Rule HOT 9
- Go runtime error
- traefik.http.routers.example.rule: 'Host(`example.com`) && Path(`/example/`)' does not work HOT 12
- 0.13 breaks `traefik.docker.network` HOT 1
- Bug: Index out of range HOT 2
- Traefik / redis error HOT 5
- Kop publish local docker ip insted of binded host ip HOT 5
- Details from only one of four hosts are appearing in the dashboard HOT 3
- Existing Redis Keys Removed Upon Adding New Server's Redis Keys HOT 3
- Use traefik-kop on multiple docker server to a unique traefik HOT 1
- multiple servers behind one service HOT 4
- KV connection error HOT 3
- router tls entry missing: router.tls=true without resolver is ignored HOT 3
- Automatic Expire HOT 1
- Running traefik-kop on the same host running traefik HOT 2
- TCP rules not being published
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from traefik-kop.