You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: Docker environment variables are ignored in 4.2 and 4.3 when host is set #521
After setting these, only DOCKER_HOST is read and applied, other TLS configuration is ignored.
To Reproduce
Try to set up a TLS based docker setup locally with the provided variables in the description.
Runtime environment
This was tested in gitlab kubernetes dind runner environment, but looking at the code this should not matter.
OS: Ubuntu 22.04 LTS
Python: 3.10.12
Testcontainers: 4.2 and 4.3 tested and failed, 4.1.2 works
Activity
sku-0001 commentedon Apr 2, 2024
Mostly related to the code here
alexanderankin commentedon Apr 2, 2024
@sku-0001 can you give https://pypi.org/project/testcontainers/4.3.1rc1/ a try? thanks!!!
actually that one also has a bug, but then it is doubly curious for me if it works for you - latest is on the branch:
sku-0001 commentedon Apr 2, 2024
Hello, thanks for the quick response.
I tried out the 4.3.1rc1 and got the following error:
The base url could also be wrong in our internal django testcontainers runner library so take this with a grain of salt 😄
Also tried the
fix_no_more_from_envbranch and it works without any modifications 👍Hopefully this helps.
alexanderankin commentedon Apr 2, 2024
thanks for the quick feedback. going to release the fix for the branch shortly and yank the rc. i always seem to miss the mark with those 🙃
fix(core): env vars not being respected due to constructor call (#524)
chore(main): release testcontainers 4.3.1 (#522)
alexanderankin commentedon Apr 2, 2024
@sku-0001 sorry i got distracted earlier - 4.3.1 is out now, containing the fix you tested on the branch.