testcontainers-clj icon indicating copy to clipboard operation
testcontainers-clj copied to clipboard

Expose GenericContainer::withReuse?

Open fkretlow opened this issue 1 year ago • 3 comments

As far as I can tell, the Testcontainers API for reusable containers is currently not exposed by testcontainers-clj. I've got it to work with

(-> (tc/create ...)
    (tc/bind-filesystem! ...)
    (update :container #(.withReuse % true))

This uses GenericContainer::withReuse.

Would you consider adding something like this to the library?

fkretlow avatar Nov 26 '23 09:11 fkretlow