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

[2.1.6.1] Can not see enable WSL 2 engine option #5277

Closed
2 tasks done
sep2 opened this issue Dec 5, 2019 · 13 comments
Closed
2 tasks done

[2.1.6.1] Can not see enable WSL 2 engine option #5277

sep2 opened this issue Dec 5, 2019 · 13 comments

Comments

@sep2
Copy link

sep2 commented Dec 5, 2019

  • I have tried with the latest version of my channel (Stable or Edge)
  • I have uploaded Diagnostics
  • Diagnostics ID: FAB0BF2F-42FF-4C5E-BC1A-ECF72265C5D6/20191205073004

Expected behavior

Can see the enable WSL2 engine option.

Actual behavior

image

Information

  • Is it reproducible? Yes
  • Is the problem new? No
  • Did the problem appear with an update? No
  • Windows Version: Build 19033.1
  • Docker Desktop Version: 2.1.6.1 (40900)
  • 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. Install WSL 2 Ubuntu and restart
  2. Install Docker Desktop and restart
@roja45
Copy link

roja45 commented Dec 9, 2019

I have the same issue on build 19037.1, wsl 2 option does not appear

Diagnostic ID: E537E37E-B097-47D5-B1CF-57D81B869EB2/20191209173031

@PavelSosin-320
Copy link

I have exactly the same issue with Windows Pro Version 1909 build 18363.476 and Dokcer desktop 2.6.1,
i.e. everything is latest

@PavelSosin-320
Copy link

Diagnostic ID 1695A9B2-5AAE-4023-953F-F08D7698FC5A/20191210092121

@mat007
Copy link
Member

mat007 commented Dec 10, 2019

Something you guys can try:

  1. quit Docker Desktop
  2. delete %APPDATA%\Docker\already-enabled-features.json and %APPDATA%\Docker\features-cache.json
  3. make sure you’re connected to the Internet
  4. start Docker Desktop

If it still doesn’t work can you post the new contents of these files (or upload a new diagnostics)?

@PavelSosin-320
Copy link

Just tested and after some deep dive in log I found: both already-enabled-features and features-cach exist but http://localhost/features ends with timeout ???
I suppose either some Windows security or Norton protection blocks it or feature request is issued too early and few retrys are necessary. It can work on Unix because preceding Unix version request is OK.

@PavelSosin-320
Copy link

It looks like WSL 2.0 issue - WSL issue 4637
I also never see which distro is running: >wsl --list --running
There are no running distributions. I installed Ubuntu which is marked as Default

@roja45
Copy link

roja45 commented Dec 10, 2019

This morning the option has appeared. Computer has been on all night, no restarts, no other changes, but I just started docker desktop again, and now the option has appeared.

@PavelSosin-320
Copy link

I suspect windows security more and more: http://localhost in my browser returns "connection refused" Also wget in WSL 2.0 console responses in the same way. Diagnostics log is filled with such requests. Every new Windows 10 release inforces network security more and more. ping6 to localhost ():1) is always OK

@PavelSosin-320
Copy link

I suppose that WSL 2.0 support to localhost

@PavelSosin-320
Copy link

That's it! After Windows emergency update for build 1609 installation checkbox is enabled but binding guidence mentioned in Microsoft notification has to be verified and adopted!

@mikeparker
Copy link
Contributor

We've just released an update to the Edge channel which fixes various feature integration and detection with WSL 2, this may fix your issues: https://docs.docker.com/docker-for-windows/edge-release-notes/#docker-desktop-community-2170

@docker-robott
Copy link
Collaborator

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale comment.
Stale issues will be closed after an additional 30d of inactivity.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
/lifecycle stale

@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 Jul 12, 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

6 participants