You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A user of the library might, for examle, not keep the reference to DockerContainer but use get_wrapped_container to access the underlying Container object and keep that instead. Currently this will produce an unexpected container stop triggered by GC.
If you want to keep this behaviour it should at least be optional (configured by a constructor stop_on_deletion flag for example).
A user of the library might, for examle, not keep the reference to
DockerContainer
but use get_wrapped_container to access the underlyingContainer
object and keep that instead. Currently this will produce an unexpected container stop triggered by GC.If you want to keep this behaviour it should at least be optional (configured by a constructor
stop_on_deletion
flag for example).Relevant code: https://github.com/testcontainers/testcontainers-python/blob/master/testcontainers/core/container.py#L69-L77
The text was updated successfully, but these errors were encountered: