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
we noticed that the docker host ip detection seems to be broken (at least in our case) starting with 1.12.5 (1.13.0 is affected as well) as it uses localhost instead of the docker gateway ip. Thus, connection attempts to Ryuk or any other container fail.
Setup
We run testcontainers from within a Jenkins docker container. Docker sock is mounted properly but the code is cloned inside the container instead being mounted (i.e. no $pwd mounts are in place).
Logs
Here's the log until including 1.12.4
o.t.d.DockerClientProviderStrategy DEBUG Pinging docker daemon...
o.t.d.EnvironmentAndSystemPropertyClientProviderStrategy INFO Found docker client settings from environment
o.t.d.DockerClientProviderStrategy INFO Found Docker environment with Environment variables, system properties and defaults. Resolved dockerHost=unix:///var/run/docker.sock
o.t.d.DockerClientProviderStrategy DEBUG Checking Docker OS type for Environment variables, system properties and defaults. Resolved dockerHost=unix:///var/run/docker.sock
o.t.DockerClientFactory INFO Docker host IP address is 172.17.0.1
o.t.DockerClientFactory INFO Connected to docker:
This changes starting with 1.12.5
o.t.d.DockerClientProviderStrategy DEBUG Pinging docker daemon...
o.t.d.EnvironmentAndSystemPropertyClientProviderStrategy INFO Found docker client settings from environment
o.t.d.DockerClientProviderStrategy INFO Found Docker environment with Environment variables, system properties and defaults. Resolved dockerHost=unix:///var/run/docker.sock
o.t.d.DockerClientProviderStrategy DEBUG Checking Docker OS type for Environment variables, system properties and defaults. Resolved dockerHost=unix:///var/run/docker.sock
o.t.DockerClientFactory INFO Docker host IP address is localhost
o.t.DockerClientFactory INFO Connected to docker:
The text was updated successfully, but these errors were encountered:
Hi,
we noticed that the docker host ip detection seems to be broken (at least in our case) starting with 1.12.5 (1.13.0 is affected as well) as it uses
localhost
instead of the docker gateway ip. Thus, connection attempts to Ryuk or any other container fail.Setup
We run testcontainers from within a Jenkins docker container. Docker sock is mounted properly but the code is cloned inside the container instead being mounted (i.e. no $pwd mounts are in place).
Logs
Here's the log until including 1.12.4
This changes starting with 1.12.5
The text was updated successfully, but these errors were encountered: