Skip to content

Retry failed container removals (JVMHookResourceReaper)#11561

Open
MikeEdgar wants to merge 1 commit into
testcontainers:mainfrom
MikeEdgar:jvmhook-retry-removal-2.x
Open

Retry failed container removals (JVMHookResourceReaper)#11561
MikeEdgar wants to merge 1 commit into
testcontainers:mainfrom
MikeEdgar:jvmhook-retry-removal-2.x

Conversation

@MikeEdgar

Copy link
Copy Markdown

This change tightens up the processing in the JVMHookResourceReaper with error handling and up to 5 tries when removing container images. This fixes a problem in podman where containers may have dependencies and one or more may fail to be removed initially. A subsequent pass over existing containers will remove those that failed initially, provided the dependent container was removed.

@MikeEdgar

Copy link
Copy Markdown
Author

Any reviewers available to comment on this change?

@eddumelendez please take a look if you have a chance 🙏

Signed-off-by: Michael Edgar <medgar@redhat.com>
@MikeEdgar MikeEdgar force-pushed the jvmhook-retry-removal-2.x branch from e907079 to 86a449c Compare July 14, 2026 20:28
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.

1 participant