Skip to content

Add TestcontainersHostPropertyClientStrategy#7053

Merged
eddumelendez merged 7 commits intomainfrom
tc_host_strategy
May 26, 2023
Merged

Add TestcontainersHostPropertyClientStrategy#7053
eddumelendez merged 7 commits intomainfrom
tc_host_strategy

Conversation

@eddumelendez
Copy link
Member

@eddumelendez eddumelendez commented May 24, 2023

New strategy to use tc.host in ~/.testcontainers.properties to try and connect
to docker.

This strategy ensure that user-defined variables such as DOCKER_HOST, TESTCONTAINERS_HOST_OVERRIDE and TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE do not have an effect.

This strategy takes precedence over other strategies.

Use `tc.host` in `~/.testcontainers.properties` to try and connect
to docker.
@eddumelendez eddumelendez requested a review from a team May 24, 2023 13:29
Copy link
Contributor

@HofmeisterAn HofmeisterAn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just had a quick look, it does not cover

This strategy must ensure that user-defined variables such as DOCKER_HOST, TESTCONTAINERS_HOST_OVERRIDE and TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE do not have an effect.

mentioned in the RFC (specific TESTCONTAINERS_HOST_OVERRIDE and TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE), or does it?

kiview
kiview previously approved these changes May 26, 2023
@eddumelendez eddumelendez requested a review from HofmeisterAn May 26, 2023 07:56
@eddumelendez eddumelendez added this to the next milestone May 26, 2023
@eddumelendez eddumelendez merged commit eb5eb8a into main May 26, 2023
@eddumelendez eddumelendez deleted the tc_host_strategy branch May 26, 2023 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants