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
The Ryuk container is inaccessible by testcontainers-hs when it is run inside a Docker container, itself running in a network different from the default one.
The tested scenario is:
The testing code is run inside a container, in a dedicated network
The testing code spawns a testcontainer with a dedicated network (different from the previous one, but the issue also occurs within the same network). As a result, a Ryuk container is spawned for it. But it is so in the default Docker network.
When attempting to contact Ryuk, testcontainers cannot find the dedicated alias, and fails.
This scenario can be encountered when running tests on GitHub Actions within a container.
In such a scenario, the following message is printed:
Whenever testcontainers-hs is run inside a container in a network different from the default one, then Ryuk cannot be accessed directly. It needs to access Ryuk using the mapped port on the host.
Tested version: 0.5.0.0
Environment: GitHub Actions, code running inside a Docker container
The text was updated successfully, but these errors were encountered:
The Ryuk container is inaccessible by testcontainers-hs when it is run inside a Docker container, itself running in a network different from the default one.
The tested scenario is:
This scenario can be encountered when running tests on GitHub Actions within a container.
In such a scenario, the following message is printed:
Whenever testcontainers-hs is run inside a container in a network different from the default one, then Ryuk cannot be accessed directly. It needs to access Ryuk using the mapped port on the host.
The text was updated successfully, but these errors were encountered: