-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Use of links between containers should be deprecated #465
Comments
I'm really looking forward to removing the ambassador container, I believe this will make things a lot easier in more complex CI environments. |
* Mark link-related APIs as deprecated pending future removal See #465 * Update changelog re deprecated links features
* Mark link-related APIs as deprecated pending future removal See #465 * Update changelog re deprecated links features
AFAIK the only thing missing now is the documentation update? |
I'd very much appreciate some docs around networks :) |
@felixbarny Yep you are right, PR appreciated 😸 |
@felixbarny yes, the docs are missing and I feel sorry about it (since I was the one who implemented the networks support) Lines 52 to 69 in b5181f7
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe this is a mistake, please reply to this comment to keep it open. If there isn't one already, a PR to fix or at least reproduce the problem in a test case will always help us get back on track to tackle this. |
This issue has been automatically closed due to inactivity. We apologise if this is still an active problem for you, and would ask you to re-open the issue if this is the case. |
Reopening - docs still needed |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe this is a mistake, please reply to this comment to keep it open. If there isn't one already, a PR to fix or at least reproduce the problem in a test case will always help us get back on track to tackle this. |
@rnorth given https://www.testcontainers.org/features/networking/#advanced-networking, should we close the issue now? :) |
Hi there, |
if it is built with GenericContainer similar to the Testcontainers modules then you should have access to withNetwork. Can you elaborate @sunmeplz , please? |
Hi @eddumelendez ! |
Hi, Are there any plans to replace the deprecated call to
|
Thanks for collecting the references @jfrantzius. I am not sure why the compose task in the original post in this issue is marked as done, since it is not yet done. I think it makes much sense to re-visist this, ideally with a non-breaking change that provides better compatibility within the ecosystem. That being said, there aren't concrete plans to tackle this yet (although AFAIK @eddumelendez did a spike on this in the past). |
As discussed in #463, docker networks seem mature enough to use, and links are officially not recommended any more.
We'd like to deprecate use of links; off the top of my head I believe we ought to do the following things:
addLink
method as deprecated with a clear commentThe text was updated successfully, but these errors were encountered: