I am running some services on docker that announce their ips to services running in other machines.
Some of those services (like spark) can use hostnames and work just fine. Unfortunately some services REALLY insist in handing ip addresses out and this breaks my system since the internal docker ip is not reachable. i cant just force the services to use the public ip address because they will not find the interface to bind to.
I attempted to circumvent this by creating a custom network and assigning the host’s ip to the container. unfortunately doing so made the container lose internet access. i also noticed that if i assigned a /23 network and did not specify the ip address docker always avoids the same /24 domain.
any known solutions for this issue?