-
Notifications
You must be signed in to change notification settings - Fork 18.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Swarm: No inter-container alias/hostname resolution #31238
Comments
Seeing something very similar in my Compose-less use case of running Hadoop clusters in Docker containers. Using It looks like |
@dimaspivak You may be hitting #31015 |
Yep, that looks to be it, @aboch. Adding even a gibberish container name at |
I have docker 18.03.0-ce installed and still experience the same issue. |
@theindra could you open a new issue with details / reproduction steps? |
Sorry... I found the issue. The recreated the network as overlay network then it worked. Before it was a bridge network. |
Containers can't connect to other containers using host aliases.
This is my
docker-compose.yml
file:daemon.json
Description
Steps to reproduce the issue:
docker stack deploy -c docker-compose.ym app
Describe the results you received:
Containers are not able to resolve other container's alias/hostname.
Additional information you deem important (e.g. issue happens only occasionally):
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.):
Platform: DigitalOcean, 1GB, 3 nodes
The text was updated successfully, but these errors were encountered: