-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Windows docker fails to use build function of docker-compose #7273
Comments
I find that this error only occurs over ssh. |
Same here: docker and docker-compose versions are exactly the same, but running on WIndows 10 1909 (18363.418). |
I tried this solution, but still have error over ssh. |
Try renaming the file instead of deleting it. The file will get re-created almost immediately after it is deleted. Renaming it (config.bla or whatever) gives you some extra seconds until it is also recreated. |
@Hooch76 Thank you for advice, but even I change file name with |
It happens to me when I use git bash, when I run the command on the windows cmd this problem does not happen |
FWIW I can confirm the same issue. I am using Docker desktop on Windows 10 Home Single Language (version 2004, OS Build 19041.508 ) with WSL2.
For more info about the docker version I am using is the output of
Thanks |
Hey guys we are having the same issue. Any progress on this or workarounds. We too see it happening more over ssh (we have jenkins ssh-ing in and calling it) though I think we reproduced it once without (can't confirm for sure it was exactly the same thing). It seems intermittent so can't always tell if deleting the file is helping or not Using docker desktop 2.4.0.0 (48506)
|
Possible work around , After SSH'ing into your guest (linux) run the following commands :
Edit: ^ I forgot to specify that this solution was performed within a WSL2 environment on Windows 10. |
@luisegarduno |
@Jn58 The |
I had the same issue in WSL2. I'm running Docker desktop 3.1.0. Update: After rebooting Windows, |
Thanks, that worked for me. |
i have the same issue |
@Jn58 you found a solution ? |
Solution: |
That works on Windows? (WSL2) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed because it had not recent activity during the stale period. |
I can confirm the workaround above works great. Doing the |
Description of the issue
Errors about credential occurs on
build
withindocker-compose.yml
on Windows.Context information (for bug reports)
Output of
docker-compose version
Output of
docker version
Output of
docker-compose config
(Make sure to add the relevant
-f
and other flags)Steps to reproduce the issue
Step 1
toStep 4
of Get started with Docker ComposeObserved result
docker-compose up
ofStep 4
fails to build.Expected result
Successfull
docker-compose up
.Stacktrace / full error message
Additional information
OS version
docker-compose
install methoddocker-compose
is installed with official installer ofdocker
.The text was updated successfully, but these errors were encountered: