I'm running two services in a single-node Docker Swarm, both in the same stack. Service A needs to be in host networking mode in order to use the ipv6 tunnel configured on the host machine, and service B needs to talk to service A.
Back when A didn't need to use the host networking mode, B was able to reach A by using the service name as the hostname, but it doesn't seem to be the case anymore.
I've tried to use docker0
as described here, without any success.
How can I reach that host-networked service from another service in the same stack?