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
Enhance --link to connect to host's networks, and rewire ports #11247
Comments
+1 |
+1 |
2 similar comments
+1 |
+1 |
Not sure if this is going to be part of that (yet), but with the 1.7 release, there will also be "experimental" builds, to allow testing future features. With the integration of libnetwork in Docker 1.7, there's work in progress for a Network-API, see this pull request for what's being worked on; #13441 |
I asked a maintainer of libnetwork if this scenario will be supported with the coming features and he added some additional information in a comment; #13441 (comment) |
Thanks @thaJeztah . I would recommend opening an issue in |
links is not a way to make containers talk to each other now. |
In #1143, @altaurog proposed a
--link-host
option, which I'd like to resurrect for consideration, to link to host ports, with port number rewiring. At the moment, Ambassador provides this ability, but requires forwarding through a proxy (socat). Here's an example concept for --link-host:There is an alternative practice of using
--add-host=alias:$(hostip)
, but this practice doesn't address the port rewiring that could be required.Thanks for your consideration.
The text was updated successfully, but these errors were encountered: