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

Ability for test-containers to expose host ports to containers #103

Open
bdellegrazie opened this issue Nov 29, 2024 · 0 comments
Open

Ability for test-containers to expose host ports to containers #103

bdellegrazie opened this issue Nov 29, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@bdellegrazie
Copy link

Hi,

We have a situation where a CI process itself spins up a service, the service under test and then runs test-containers to spin up other containers which in turn need to talk to the service under test.
test containers implements this via https://java.testcontainers.org/features/networking/#exposing-host-ports-to-the-container
Currently this doesn't appear to work (test-containers cannot start the SSHD proxy properly).

This is being implemented in the context of Github Actions with self-hosted runners on K8S.
Do you have any suggestions as to how we can get the testcontainers/sshd proxy to work correctly?

@bdellegrazie bdellegrazie changed the title Ability for test-containers reverse proxy to work Ability for test-containers to expose host ports to containers Nov 29, 2024
@joyrex2001 joyrex2001 added the enhancement New feature or request label Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants