Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Enable the experimental WSL 2 based engine" not selectable [closed]

I'm following these instructions to run my Docker Daemon on WSL 2 on Windows 10:

https://medium.com/@callback.insanity/upgrading-to-wsl-2-9883688fcfa5

But, when I try to Enable the experimental WSL 2 based engine, I cannot select the checkbox, as seen here:

enter image description here

I am running Windows 10 build 1909

The message here reads:

(requires Win 10 build 19018+)

I am not on the fast track or Insider Preview program (and I don't want to be), but it is not clear to me at all if my build satisfies this requirement. I am running WSL 2 (and yes, it's pretty nice, aside from the fact that it doesn't seem to be working with Docker as I'd prefer).

Is the problem I'm facing that my Windows build version is too low, or is there something else I should try?

Update: As pointed out in comments below, the version number of my Windows is different than the build number. I checked the build number by going into system information and seeing the my build number is 18362.

like image 794
Glen Pierce Avatar asked Mar 16 '20 18:03

Glen Pierce


People also ask

How do I enable the WSL 2 based engine?

Right-click the icon to display the Docker commands menu and select "Settings". Ensure that "Use the WSL 2 based engine" is checked in Settings > General. Select from your installed WSL 2 distributions which you want to enable Docker integration on by going to: Settings > Resources > WSL Integration.

Can you run Minikube in WSL2?

Minikube in WSL2 with docker driver, creates a docker container with name minikube when minikube start command is executed. That container has some port mappings that helps kubectl and clients to connect to the server.

What is WSL2 backend?

Installing WSL2. The Windows Subsystem for Linux (WSL) is a way to run a full Linux environment on your Windows machine, without having to install a "heavier" virtual machine, such as Virtual Box, VM Ware, or Hyper-V. WSL 2 also provides a mechanism for running Docker (with Linux containers) on your Windows machine.


1 Answers

1909 is a lower number than 19018. Also, I think you have to be in the Insider Preview program at the moment to enable that option.

https://docs.docker.com/docker-for-windows/wsl-tech-preview/

enter image description here

I'm in the same boat as you; I'm dying to use it as well, but don't want to join the Insider program, so I'm just trying to be patient, and wait it out.

like image 63
J. Scott Elblein Avatar answered Oct 02 '22 09:10

J. Scott Elblein