Skip to content

chore: Defer Docker endpoint resolution until the client is built - #115

Merged
HofmeisterAn merged 2 commits into
mainfrom
feature/defer-resolve-endpoint
Jun 20, 2026
Merged

chore: Defer Docker endpoint resolution until the client is built#115
HofmeisterAn merged 2 commits into
mainfrom
feature/defer-resolve-endpoint

Conversation

@HofmeisterAn

Copy link
Copy Markdown
Collaborator

This PR specifically addresses an issue related to Testcontainers. Testcontainers includes its own Docker endpoint discovery mechanism. As we have started moving this functionality into Docker.DotNet, where it ultimately belongs, applications that use both Docker.DotNet and Testcontainers may end up running similar endpoint discovery logic twice.

To reduce this overhead, this PR defers Docker.DotNet's endpoint resolution so that libraries implementing their own discovery mechanism are prioritized. This avoids unnecessary duplicate resolution while the migration is still in progress.

Once all endpoint discovery functionality has been consolidated into Docker.DotNet, this workaround can be removed.

@HofmeisterAn HofmeisterAn added the enhancement New feature or request label Jun 20, 2026
@HofmeisterAn
HofmeisterAn marked this pull request as ready for review June 20, 2026 08:23
@HofmeisterAn
HofmeisterAn merged commit 6c60ff1 into main Jun 20, 2026
@HofmeisterAn
HofmeisterAn deleted the feature/defer-resolve-endpoint branch June 26, 2026 13: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