-
Notifications
You must be signed in to change notification settings - Fork 35
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
Add a possibility to start Ryuk in a Network #54
Comments
Can you double-check which Docker host Testcontainers resolve? Considering GitHub Actions container configuration works similar to the Azure DevOps one, your container image requires a |
Sorry have no access to Some parts from the logs:
And
To understand the network problems I even tried to start a local Postgres DB and tried to connect:
Same problem, no connection. Also when I specify -p 17176
Same problem will be with Ryuk. I think the runner got hardened a bit too much. Therefore the thought was when everything runs in its own network it probably runs. |
Hi is it possible to start the container in a docker network?
The current problem is that, when I use Github Action and start a container it forces me into a docker network generated by Github Action and the self hosted runner in my company doesn't allow inter network communication. But Testcontainers (at least the Java lib) starts Ryuk in the default network and so it can't be reached anymore. Even when I start the docker image manually to build and test without a network it can't reach some other containers. Only when I start a new network and run the containers in it they can communicate.
Old GHA looked like that:
My current solution is to start a network manually run the building container in it and give the network name as env variable to the container I start within the tests. But for Ryuk its currently not possible? Do you have a Idea how to solve that? I want to add the container to the deathnote 🗡️
The text was updated successfully, but these errors were encountered: