Skip to content

feat: Add WaitContainerAsync overload with wait condition - #141

Merged
HofmeisterAn merged 3 commits into
mainfrom
feature/container-wait-condition
Dec 2, 2026
Merged

HofmeisterAn merged 3 commits into
mainfrom
feature/container-wait-condition

Conversation

@HofmeisterAn

Copy link
Copy Markdown
Collaborator

Testcontainers has to wait until Docker removes a stopped auto-remove container. Until then, creating a container with the same name fails with 409 Conflict. Docker.DotNet cannot send the condition query parameter of POST /containers/{id}/wait, so Testcontainers polls container inspect instead.

@HofmeisterAn HofmeisterAn added the enhancement New feature or request label Dec 2, 2026
@HofmeisterAn
HofmeisterAn merged commit 4de2715 into main Dec 2, 2026
12 checks passed
@HofmeisterAn
HofmeisterAn deleted the feature/container-wait-condition branch December 2, 2026 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant