Wondering if someone can help us connect containers in swarm mode. We have noticed that when containers are created in swarm mode, they cannot communicate with each other as they don’t know each others’ IP address. To fix this, we have to manually enter IP addresses in the /etc/hosts file. This is extremely burdensome. How can we avoid this? A detailed description of our issue is here: https://stackoverflow.com/questions/56998706/docker-swarm-unable-to-connect-to-other-containers-because-ip-lookup-fails. We haven’t gotten a satisfactory answer so checking if posting here helps. Thanks in advance!