June 16, 20206 yr As we know, if we use bridge network mode, all docker containers will get a dedicated IP like 172.17.0.*. But when you reboot some docker containers, those IPs will change. so it is very inconvenient to use IP. I don't want to use unraid IP, because I think it will let all data transfer back and forth in the router. Is there any way to use something like hostname to links containers on unraid? Edited June 16, 20206 yr by DearTanker
June 16, 20206 yr 1 minute ago, DearTanker said: But when you reboot some docker containers, those ip will change. so it is very inconvenient to use ip. Why would you directly use those IPs? Usual way to communicate with a container would via the host IP and applicable port.
June 16, 20206 yr Author 2 minutes ago, Squid said: Why would you directly use those IPs? Usual way to communicate with a container would via the host IP and applicable port. I don't want to use unraid IP, because I think it will let all data transfer back and forth in the router. Like "unraid-ip:123 --> router --> unraid-ip:456 --> router --> unraid-ip:123".
September 24, 20205 yr As long as your server is wired, data will not traverse the router unless it being used by a wireless client or if the client is on a different subnet than the server. Meaning, if you are trying to read from InfluxDB container from Grafana container, via the server IP, the data will not traverse your router. It will be horseshoed through the eth0 interface. Make sense?
Archived
This topic is now archived and is closed to further replies.