Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

alex/reaper #33

Merged
merged 4 commits into from Feb 6, 2023
Merged

alex/reaper #33

merged 4 commits into from Feb 6, 2023

Conversation

alexbiehl
Copy link
Collaborator

@alexbiehl alexbiehl commented Feb 4, 2023

This PR introduces proper resource cleanup using the ryuk container. We attach a label containing a session id to each network and container and once done, ryuk cleans up all the resources. This allows us to worry less about container and network lifecycles.

This approach is also taken by the official testcontainers java library.

@alexbiehl alexbiehl merged commit eabcf80 into master Feb 6, 2023
@alexbiehl alexbiehl deleted the alex/reaper branch February 6, 2023 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants