Skip to content
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

Add net-alias #274

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

scornelissen85
Copy link

This change will make it possible to ping other nodes on hostname. It used Docker DNS when start with Docker-compose. For example, when you start node1 and node2 you can do on node2:

ping node1

And it will succeed.

@justinpage
Copy link

I would love to see this. I'm taking a docker course that demonstrates this functionality as being present in a past build. Not sure why it no longer works? Was it removed?

Also, for those that are curious, you can actually ping the instance id as an alternative:

ping bee2ts8g_bee2ttggn5rg00b74htg

@scornelissen85
Copy link
Author

scornelissen85 commented Sep 18, 2018

@justinpage The option which add the host alias to containers is not merged yet. Yes, currently you can ping the instance_id.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants