Skip to content

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

Description

@bdellegrazie

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions