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
I'm willing to work on this issue. I tried to reproduce this issue by setting DOCKER_HOST= but the test cases were passing. I was running the tests on MacBook pro m1 with macOS=12.6 and docker desktop= v4.12.0 with Docker version 20.10.17, build 100c701
Hey @roulpriya, great that you want to look into it.
This issue occurs, if docker.host is set in the ~/.testcontainers.properties file (e.g. to a valid value), but DOCKER_HOST is also set and is empty.
It will show such an error:
EnvironmentAndSystemPropertyClientProviderStrategy: failed with exception NullPointerException (Cannot invoke "String.hashCode()" because "<local5>" is null)As no valid configuration was found, execution cannot continue.
The culprit is like this code right here, since it check only for a key, but not for empty value:
Testcontainers fails to start if DOCKER_HOST is set to an empty string.
Reproducer:
The text was updated successfully, but these errors were encountered: