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
Describe the bug
The WithDockerEndpoint method is very useful in case the local machine does not support running containers, because it allows running testcontainers on some remote machine. However, this use case doesn't work anymore (in some circumstances) due to the introduction of the Resource Reaper. The reason being that dotnet-testcontainers will always try to run the Resource Reaper container locally.
A potential solution would be to always start the Resource Reaper container on the same host which is also supposed to run the actual testcontainer of interest.
To Reproduce
Steps to reproduce the behavior:
Use a host machine which does not support running containers locally
Create a test which starts up a testcontainer using the WithDockerEndpoint on some (Linux-based) remote machine
Run the test and see some exception due to the incapability to let the Resource Reaper container run locally.
Expected behavior
The testcontainer should be started and not exception should be thrown.
The text was updated successfully, but these errors were encountered:
s-rech
referenced
this issue
in s-rech/dotnet-testcontainers
May 31, 2022
Describe the bug
The
WithDockerEndpoint
method is very useful in case the local machine does not support running containers, because it allows running testcontainers on some remote machine. However, this use case doesn't work anymore (in some circumstances) due to the introduction of the Resource Reaper. The reason being that dotnet-testcontainers will always try to run the Resource Reaper container locally.A potential solution would be to always start the Resource Reaper container on the same host which is also supposed to run the actual testcontainer of interest.
To Reproduce
Steps to reproduce the behavior:
WithDockerEndpoint
on some (Linux-based) remote machineExpected behavior
The testcontainer should be started and not exception should be thrown.
The text was updated successfully, but these errors were encountered: