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.
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.