Skip to content

Retry failed container removals (JVMHookResourceReaper)#11561

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

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

Conversation

@MikeEdgar
Copy link

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.

Signed-off-by: Michael Edgar <medgar@redhat.com>
@MikeEdgar MikeEdgar requested a review from a team as a code owner March 7, 2026 11:54
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