Closed frenki-d closed 5 years ago
Hi,
which OS do you use? Windows?
Hi, which OS do you use? Windows?
yes, it's Windows 10
We only tested against Linux and Mac... Im working on a fix but I can only test with Docker Toolbox.. Do you use Docker Toolbox (Legacy) or Docker for Windows?
Do you use Docker Toolbox (Legacy) or Docker for Windows?
Docker for Windows
Do you use Docker Toolbox (Legacy) or Docker for Windows?
Docker for Windows
I will setup Docker for Windows this evening. I hope i can reproduce your issue. I'm also going to test the fix mentioned by @julian-eggers. If there is some progress i will keep you updated.
@frenki-d I could reproduce your mistake. I could solve this problem too. We will release a new common version with a suitable documentation for the problem as well as a new version of the mongo test container with the new common version. When the new version has been released, I will inform you.
@frenki-d @julian-eggers just pushed a new version of the mongo testcontainer with the fix for windows (#9). Could you please test the new version with your Docker for Windows configuration? I just had to add a new system variable with the "DOCKER_HOST" equals "tcp://localhost:2375" and enable the feature "Expose deamon on tcp://localhost:2375 without TLS" in the Docker for Windows UI. If this works for you, we could write for this a wiki.
@fegbers, creating a system variable "DOCKER_HOST" fixed the error. Now I can run my mongodb tests with testcontainers. Thanks a lot for your help! =)
I'm glad that we could help :)
Hi! I tried to use your lib, but got an exception. Libs like com.playtika.testcontainers.embedded-redis works fine, so I think it's not a problem with my docker instance.