Skip to content
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

Docker hangs when running or building anything, including hello-world #7798

Closed
2 tasks done
bryngl opened this issue Jul 24, 2020 · 4 comments
Closed
2 tasks done

Docker hangs when running or building anything, including hello-world #7798

bryngl opened this issue Jul 24, 2020 · 4 comments

Comments

@bryngl
Copy link

bryngl commented Jul 24, 2020

  • I have tried with the latest version of my channel (Stable or Edge)
  • I have uploaded Diagnostics
  • Diagnostics ID: E6068697-1EC6-4FEC-B411-C28CF224A243/20200724020134

Expected behavior

When I run docker run hello-world I expect it to download and run the container.

Actual behavior

It hangs after printing "Unable to find image 'hello-world:latest' locally"

Information

  • Windows Version: 2004 (Build 20175.1000)
  • Docker Desktop Version: 2.3.0.3 (45519)
  • Are you running inside a virtualized Windows e.g. on a cloud server or on a mac VM: No

Steps to reproduce the behavior

  1. Open Ubuntu 20.04 for Windows (using WSL 2)
  2. Run docker run hello-world
  3. It will fail to proceed after printing "Unable to find image 'hello-world:latest' locally"
@bryngl bryngl changed the title Docker Hangs when running or building anything, including hello-world Docker hangs when running or building anything, including hello-world Jul 24, 2020
@bryngl
Copy link
Author

bryngl commented Jul 24, 2020

Downgraded Windows version to 2004 (Build 20170.1000) and it works on that version.

@stephen-turner
Copy link
Contributor

Probably the same as #7808.

@metcalfc
Copy link

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:

alias docker=docker.exe

Docker on the Windows side (powershell, cmd, etc) will behave normally.

@docker-robott
Copy link
Collaborator

Closed issues are locked after 30 days of inactivity.
This helps our team focus on active issues.

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.
/lifecycle locked

@docker docker locked and limited conversation to collaborators Aug 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants