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

[question] docker -netalias or alternative #2105

Closed
jrusiecki opened this issue Dec 14, 2016 · 4 comments
Closed

[question] docker -netalias or alternative #2105

jrusiecki opened this issue Dec 14, 2016 · 4 comments

Comments

@jrusiecki
Copy link

jrusiecki commented Dec 14, 2016

Nomad 0.5.0, Consul 0.7.1, Docker 1.12
I use docker overlay network between containers. To find other container to connect to I use docker built-in DNS. It allows me to lookup IP of node (e.g. elastic01) by node name. But with nomad name is unpredictable. I've read -netalaist parameter to docker run solves the problem - but HOW to specify -netalias for docker with job specification?

@diptanu
Copy link
Contributor

diptanu commented Dec 14, 2016

@jrusiecki There is a PR out there which allows users to pass the net alias to the docker daemon. Once that is merged this would be possible.

@dadgar dadgar added this to the v0.5.1 milestone Dec 14, 2016
@diptanu
Copy link
Contributor

diptanu commented Jan 5, 2017

Fixed by #1980

@diptanu diptanu closed this as completed Jan 5, 2017
@jrusiecki
Copy link
Author

Thx, will try :)

@tgross tgross modified the milestones: near-term, unscheduled Jan 9, 2020
@github-actions
Copy link

I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants