Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TestcontainersHostPropertyClientStrategy #7053

Merged
merged 7 commits into from May 26, 2023
Merged

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 as a code owner 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 added this to the next milestone May 26, 2023
@eddumelendez eddumelendez merged commit eb5eb8a into main May 26, 2023
85 checks passed
@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.

None yet

3 participants