-
Notifications
You must be signed in to change notification settings - Fork 292
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
cli commands pull/build getting stuck on auth with WSL2/docker-desktop #7851
Comments
There's a bug in the latest Windows Insiders build that stops Docker Desktop from working. See #7808. |
This WSL2 bug microsoft/WSL#5648 does effect Docker, it is not an issue with Docker. We are hopeful for a fix soon. Right now Windows 20175 and 20180 have this issue. You can disable the WSL2 backend in your Docker settings for now. You won't find docker in your WSL2 path anymore but you can work around this temporarily with:
Docker on the Windows side (powershell, cmd, etc) will behave normally. |
I've just been deleting |
Removing |
Yeah, so I put the rm command in .bashrc, a hack, but it's working out for now UPDATE: my problem was fixed in issue 5648 of WSL deployed in windows 20190, I've since removed the entry in |
Closed issues are locked after 30 days of inactivity. If you have found a problem that seems similar to this, please open a new issue. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
Expected behavior
Doesn't get stuck.
Actual behavior
Get's stuck.
Information
Steps to reproduce the behavior
I can't reproduce but I can describe:
docker -D pull
ordocker -D build
hangs. Shows nothing that hints at the problem, just gets stuck.docker-compose --verbose build x
gets stuck ondocker.auth.resolve_authconfig: Using credentials store "desktop.exe" docker.auth._resolve_authconfig_credstore: Looking for auth entry for 'https://index.docker.io/v1/'
I thought I found a solution, I mentioned at docker-compose build hangs and mentioned at Unable to pull images with WSL2 engine
but not it was too good to be true. sgtoj on the second issue had a hanging problem I've tried signing in/out on docker-desktop, reinstalling, resetting to factory settings etc, nothing is working.
docker-compose --verbose pull x
where x is a service that has aimage: xx
property, Gets stuck in an infinite loop:The text was updated successfully, but these errors were encountered: