-
Notifications
You must be signed in to change notification settings - Fork 142
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
Equivalent to TestContainers.exposeHostPorts? #535
Comments
I recommend linking to the actual section which you're referring to so other people don't get confused like me. |
It is not supported at the moment. I am not familiar with the Java implementation in how they achieve this. |
I think this would indeed be very useful. I'll have a look at it when I find the time. |
In order to achieve similar behavior it's possible to use one of the following ways:
These options were initially suggested in our Slack |
I'm working on a test which must expose a service running on the host to a service running in a container.
In Java, this can be done with
Testcontainers.exposeHostPorts(localServerPort);
as per https://java.testcontainers.org/features/networking/.I am unable to find an equivalent to this functionality in the Rust crate. How can one do this?
The text was updated successfully, but these errors were encountered: