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

resolvable should support Docker networks #30

Open
helterscelter opened this issue Dec 30, 2016 · 3 comments
Open

resolvable should support Docker networks #30

helterscelter opened this issue Dec 30, 2016 · 3 comments

Comments

@helterscelter
Copy link

I am attempting to use resolvable as a DNS resolver on my local host node (ie, developer workflow) so that I can access my docker containers by name (specifically looking to use the containter's hostname/container id/name).

however it appears that resolvable doesn't support docker networks:

2016/12/30 12:34:59 got local address: 172.17.0.2
2016/12/30 12:34:59 error adding container 5cc92799c26a: unknown network mode%!(EXTRA string=stormdocker_default)
2016/12/30 12:34:59 error adding container a9bf59ad937d: unknown network mode%!(EXTRA string=stormdocker_default)
2016/12/30 12:34:59 error adding container 9ca9b1a6ffb0: unknown network mode%!(EXTRA string=stormdocker_default)
2016/12/30 12:34:59 error adding container 0c69b5e8fe5c: unknown network mode%!(EXTRA string=stormdocker_default)

#15 seems to reference this same issue, but mentions that if networks need to be supported then a new issue should be created specifically for that. so, here it is.

@Iliyass
Copy link

Iliyass commented Apr 27, 2017

@helterscelter I faced the same issue, Did you fix it ? if so, i would like to know how you work around this

@helterscelter
Copy link
Author

@Iliyass I actually ended up forking a different repo and modifying it to suite my needs:

https://github.com/helterscelter/docker-dns-gen

@eduwass
Copy link

eduwass commented Oct 20, 2017

Seems like there's a fix attempt here: #24
But there's a test failing 😢
Would be awesome if someone had this finally implemented!

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

No branches or pull requests

3 participants