Closed jonesbusy closed 4 months ago
Made a PR with the fix here - https://github.com/testcontainers/testcontainers-node/pull/748
I don't think this will fix the problem. The root-cause for https://github.com/joyrex2001/kubedock/issues/84 is this constant being compared with a rewritten image. Because the isReaper detection fails, it tries to create another lockfile (which fails, because it is locked already).
My suggestion would be to prefix the default value for REAPER_IMAGE
with TESTCONTAINERS_HUB_IMAGE_NAME_PREFIX
environment variable (but there might be a better solution).
To reproduce: set TESTCONTAINERS_HUB_IMAGE_NAME_PREFIX=docker.io
and it will fail starting ryuk (and trigger the dead-lock).
Please try version 10.8.2
Tried with our proxy and env variable having a form export TESTCONTAINERS_HUB_IMAGE_NAME_PREFIX=domain.com/docker-virtual/
and it worked.
Will give some time for @jonesbusy or @joyrex2001 to confirm, and then will close this issue.
Thanks, I will try to test tomorrow
Hi,
Thanks again for the fix and help of @joyrex2001
I confirm issues I was facing are fixed with 10.8.2
Regards,
Hi,
I already posted some details on https://github.com/joyrex2001/kubedock/issues/84 because I'm not sure where is located the issue.
We noticed behavior/regression changes when upgrading from 10.6 to 10.8.1 when running using kubedock on Kubernetes
We have the same setup with Testcontainer java (version 1.19.7) and testcontainer .NET (version 3.7.0) and all works fine
But for some reason node module is not working post 10.6
I noticied 2 PR that could have cause such changes
https://github.com/testcontainers/testcontainers-node/pull/712 (released on 10.7) https://github.com/testcontainers/testcontainers-node/pull/729 (release on 10.8)
The issue is not producible using a "real" docker socket with Rancher Deskop
Expected Behaviour
Should work
Actual Behaviour
Container is started like this
On 10.7
This was working fine on 10.6
On 10.8.1
Basically it hangs on
Acquiring lock file
Since 10.6 I was using environment (but didn't realized it was not used before https://github.com/testcontainers/testcontainers-node/pull/729)
Noticed the double // on the logs. I tried also with no trailing slash and behavior is the same.
Any hints is appreciated!
Thanks!
I'm more happy to give more detail/logs if needed