-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Cannot start testcontainer if wincred store is used #392
Comments
I had same issue but not with the Test Containers library but the Docker itself. Reinstalled it (with deleting .docker folder) and it helped. |
The error message sounds like a problem with your |
Are you trying to use a private image? Did you do a docker login on the host before? |
No, I just use the image from the docker hub. Yes I have login on the host before, but that did not help either. |
What's the content of your |
Yes, it exists! {"credsStore":"wincred","auths":{"https://index.docker.io/v1/":{}}} |
Oh I see, you are on windows? It might be a problem with docker-java and a recent Docker for Windows version. I'll try to test it on windows once I have the time. |
Yes, my system is Windows 10, thanks for you attention |
Please also try #393 with updated docker-java (with Jitpack) |
@bsideup , It didn't work either :( . |
i had the same issue, with .docker/config.json containing
I renamed the config file and testContainers almost worked.
|
@jeacott1 Which image were you testing? Do you have log output from the preflight checks, did they succeed? |
@kiview initially the testcontainers-java-module-elasticsearch, and now the postgres module. haven't had any issues since removing the config file. and I just tried it, the postgres module at least still works now I've restored the file. |
@jeacott1 Thanks for all your feedback (spread over different issues 😉), I'll try to confirm, that this has to do with the |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe this is a mistake, please reply to this comment to keep it open. If there isn't one already, a PR to fix or at least reproduce the problem in a test case will always help us get back on track to tackle this. |
We added support for credential helpers recently, with Windows support in 1.9.0. As such, this should work now! Please feel free to reopen if there are other issues with this feature. |
The text was updated successfully, but these errors were encountered: