-
-
Notifications
You must be signed in to change notification settings - Fork 511
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
fix: Rename TC_HOST environment variable to TESTCONTAINERS_HOST_OVERRIDE #2536
Conversation
✅ Deploy Preview for testcontainers-go ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for checking the issue and providing a fix 🙇
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
* main: chore(deps): bump github.com/docker/docker from v26.1.4 to v27.0.2 (testcontainers#2593) fix: Rename TC_HOST environment variable to TESTCONTAINERS_HOST_OVERRIDE (testcontainers#2536) chore: test cleanups (testcontainers#2608) chore(ci): pass docker install type to the nightly build payload (testcontainers#2612) chore: run rootless mode in nighlty builds (testcontainers#2611) chore(deps): bump github.com/hashicorp/go-retryablehttp (testcontainers#2605) chore: improve log handling when container is stopping (testcontainers#2601)
* main: fix: Rename TC_HOST environment variable to TESTCONTAINERS_HOST_OVERRIDE (#2536)
What does this PR do?
Rename
TC_HOST
environment variable toTESTCONTAINERS_HOST_OVERRIDE
to align with other testcontainers projects.Why is it important?
The changes in this PR will align how to override the host of the docker daemon where the container port is exposed with other testcontainers projects and the current
testcontainers-go
documentation.In other testcontainers projects,
TESTCONTAINERS_HOST_OVERRIDE
environment variable is used to override host of the docker daemon where the container port is exposed.testcontainers-go
mentions this environment variable in the documentation but it is currently not implemented. Instead,testcontainers-go
usesTC_HOST
, which is the old envrionment variable used in other projects for the same purpose.Related issues
Follow-ups
The changes in this PR will deprecate
TC_HOST
environment variable.