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
I have two main concerns regarding Testcontainers:
Container Cleanup Reliability:
Is it possible to guarantee 100% automatic closure of containers created by Testcontainers? If not, what are the scenarios where containers might be left running?
Identifying Testcontainers-Created Containers:
In case automatic cleanup isn't fully reliable, I'm considering implementing a maintenance job to automatically close containers that have been running beyond a certain threshold. To achieve this, I need a reliable way to identify which containers were created by Testcontainers.
My initial thought was to use container names for identification. Is there a standardized naming convention or prefix for Testcontainers-created containers? If not, would it be possible to implement such a feature?
Questions:
What is the current reliability of Testcontainers' automatic container cleanup?
Are there any existing mechanisms to uniquely identify Testcontainers-created containers?
If not, would the community consider implementing a configurable naming convention or tagging system for Testcontainers-created containers to facilitate easier identification and management?
Any insights or suggestions on these topics would be greatly appreciated. Thank you for your time and consideration.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey guys!
I have two main concerns regarding Testcontainers:
Container Cleanup Reliability:
Is it possible to guarantee 100% automatic closure of containers created by Testcontainers? If not, what are the scenarios where containers might be left running?
Identifying Testcontainers-Created Containers:
In case automatic cleanup isn't fully reliable, I'm considering implementing a maintenance job to automatically close containers that have been running beyond a certain threshold. To achieve this, I need a reliable way to identify which containers were created by Testcontainers.
My initial thought was to use container names for identification. Is there a standardized naming convention or prefix for Testcontainers-created containers? If not, would it be possible to implement such a feature?
Questions:
Any insights or suggestions on these topics would be greatly appreciated. Thank you for your time and consideration.
Beta Was this translation helpful? Give feedback.
All reactions