Repository navigation
Is there a way to bind an already running container to a StartedTestContainer?
#296
|
Let's suppose that I am have run some container manually, without using testcontainers. |
Answered by
cristianrgreco
May 10, 2022
Replies: 2 comments 4 replies
|
Hi @redjolr, currently not. Could I ask what's the use case here? I'm specifically wondering why you couldn't create the container with testcontainers in the first place, that way you'd get automatic resource cleanup and other such features. |
4 replies
|
This functionality is supported by providing |
0 replies
Answer selected by
cristianrgreco
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This functionality is supported by providing
withReuse()when creating a container.