testcontainers / testcontainers-scala

Docker containers for testing in scala

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to get access to internal containers when using MultipleContainers?

sergeda opened this issue · comments

If we use one container in the test we can use
container.cassandraContainer.getMappedPort(9042)
to get port of the container.
How can we do the same if we need to start multiple docker images?