I have a situation where one of the service name, let’s say ‘myservice’ in docker swarm shares the name with an actual host in my network.
Sometimes the resolution of ‘myservice’ from other services/containers picks up that host IP and things fail since its not related to anything I am running.
Is there a way to give ‘myservice’ in a fashion that forces docker to resolve it with its own services? Is that ‘tasks.myservice’ or something better?
Docker Swarm CE 17.09 is the version in use