-
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
Allow install on Windows 10 Home 18945+ for desktop wsl2 tech preview #4586
Comments
Great timing! I just emailed support on the same issue yesterday. I'm looking forward to running docker natively in Windows WSL2! Please enable Docker Desktop for Windows 10 Home build >= 18945 |
@LongLiveCHIEF: Brian, could you please give some more details what you did to get it working? I'm trying to do it myself but obviously I'm missing some step and getting that message. |
github.com/LongLiveCHIEF/wsl2-docker-for-win
…On Fri, Aug 30, 2019, 10:01 AM Mario @ tokeny ***@***.***> wrote:
I've successfully gotten docker-for-windows edge to run on Windows 10 Home
using WSL2 as the daemon, and mounting \\wsl$\Ubuntu as a mapped drive to
get that "native" experience.
@LongLiveCHIEF <https://github.com/LongLiveCHIEF>: Brian, could you
please give some more details what you did to get it working? I'm trying to
do it myself but obviously I'm missing some step and getting that message.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4586?email_source=notifications&email_token=AAZBLALLCPGJTLC6JCLUFN3QHEY5DA5CNFSM4IPG3HJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5R5CHY#issuecomment-526635295>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAZBLALI3OLMX6HQEHLLUH3QHEY5DANCNFSM4IPG3HJQ>
.
|
You can download the Docker Desktop WSL2 tech preview; read the blog post here; https://blog.docker.com/2019/07/5-things-docker-desktop-wsl2-tech-preview/ |
Thanks Brian! @thaJeztah I'll give it a try to the post you pasted but I believe it links to the same one I tried and was giving me the afore-mentioned error about not having Windows Pro. |
@thaJeztah this issue is open because the wsl2 tech preview can run on Win 10 Home, but isn't allowed, thus I have the instructions for how to set it up on Win 10 Home in the meantime at github.com/LongLiveCHIEF/wsl2-docker-for-win. |
Thanks for sharing that @LongLiveCHIEF. I'll try your solution |
It worked for me. Just a minor point though, for some reason I got installed docker 1.39 on the Ubuntu WSL, so I had to change that in the environmental variables of the description. Thanks again @LongLiveCHIEF! |
Thanks for clarifying @LongLiveCHIEF - I didn't see a link to the WSL2 Docker Tech Preview mentioned in the first description, so wasn't sure if the Tech Preview had the Windows 10 Home restriction removed (compared to the regular Docker Desktop installer). I'm checking with the Docker Desktop team to see what the status is on that 👍 |
The solution that @LongLiveCHIEF provides it worked pretty much yet. But, I have a problem when I try to build the containers using a docker-compose.yml file. I'm receiving this error:
The part of
I already read that this problem was solved in previous versions of docker, but I'm running 19.03.1 so I'm confused. I'll appreciate any help. PD: this is the output of
|
I manage to solve the problem above, using '$PWD' in My
Now I can move on with Docker on WSL 2. However, I'm still confused about that problem being solved in previous versions. |
@thaJeztah any updates?
I should have clarified, the line in my OP that said I've been tempted to write some scripts to automate the steps in my documentation, but I imagine docker desktop running on WSL2 works the exact same way at a low level, but I hesitate to spend all that time writing automation that will be obsolete the moment the docker desktop team allows Home SKU's for WSL2DTP. It's too bad that software isn't Open Source, or I'd move forward with contributing those features and move Docker Desktop for WSL2 forward faster. 😏 |
Thanks @LongLiveCHIEF for your interest and your wsl2-docker-for-win project. I love your excitement. 😃 We have Windows 10 Home on our roadmap. |
@StefanScherer great! can't wait! I've had a lot of interest in my small how-to project, so I imagine you'll have quite a few eager adopters once that feature rolls out! |
@StefanScherer ETA on this? |
@gnschenker the feature has been implemented and the PR is likely going to be merged today, but we still need to figure out when we’ll release it exactly. |
Hello @mat007 , |
@henri9813 probably in January, we are busy shipping WSL 2 in a Stable version for Windows Pro/Enterprise at the moment but it’s our next item after that. |
Thank you for your reply, by curiosity, with WSL2, they are no difference between Windows Home/Pro/entreprise Right ? |
Just to let you know, I installed wsl2 in Windows 10 Home, with distro Kali Linux, by using a simple |
@josenobile Nice, I understand you couldn't wait. :-) But please have in mind that Docker Desktop installer will support Windows 10 Home soon and bring docker CLI integration into WSL2 distros. |
@StefanScherer Just being curious, with my current setup I'm able to build & run & more over the folder of my Windows (/mnt/c/....), use all the Linux tools / commands. Is there any advantages by using Docker Desktop. Maybe this a bit off topic, I'm doing this to replicate as mucho as possible a Kubernetes clusters that I have running distributed in a several Clouds/Regions, for example Docker Desktop will help to setup a Kubernetes cluster in full? and is there any ETA about fixing this bug and release the edge version with it? |
@josenobile Docker Desktop can start the engine automatically after login. The Docker CLI also works from the Windows terminals, if you want to try another distro you don't have to install Docker engine multiple times, ... |
Any chance of a rough ETA? Are we talking days, weeks or months? |
Here’s a release that works with Windows 10 home :) https://download-stage.docker.com/win/edge/41944/Docker%20Desktop%20Installer.exe |
We’re looking at a couple of weeks now, three at most. |
The error message looks promising:
However, Windows 10 Home 19018 still appears to be in preview. Does it include some essential component Docker requires that 1909 does not have? (And can anyone explain Windows 10 version numbers?) |
Windows 1909 is the version of windows 10, 19018 is the OS build information. Windows 10 19018 adds wsl2 which docker has taken advantage of. |
@kieranbrown I've been using your staging release with Win 10 Home in WSL2 mode all week, do loads of testing of new ddev release. I have Win 10 Home on slow ring. I've had an excellent experience with it. I did have to reboot the machine once when everything got slow, but don't know if I can even blame that on Docker. It was surprising that I can't switch it between WSL2 mode and traditional Windows mode without reinstalling. I'd like to test both with ddev, but it's not easy. Great work on this! It's going to be fantastic to have our Win10 Home users using something that is consistent on Windows instead of having them use Docker Toolbox. |
https://docs.docker.com/docker-for-windows/edge-release-notes/ New release does not seem to include Windows 10 Home fix? |
@jkonowitch you’re right, the next Edge release will have this as this Edge release was only to get on par with the Stable version. We’re looking at another couple of weeks wait, sorry about that. |
Thanks for the clarification - looking forward to it! |
so if i install this version now, i can undo/unistall everything from https://github.com/LongLiveCHIEF/wsl2-docker-for-win |
@Henriquepb22 Correct, if you install Docker Desktop on Windows to use WSL2 backend, all changes like this should be undone to avoid collisions. |
Thanks @StefanScherer, i will undo everything now, im also getting this error when trying to create and run a container: docker: Error response from daemon: cgroups: cannot find cgroup mount destination: unknown. Edit: Actualy fixed that error by undoing everything from https://github.com/LongLiveCHIEF/wsl2-docker-for-win and turning ON and OFF the "Enable Integration with my default WSL distro" option on DockerDesktop in Configs/Resources/WSL Integration |
This has been released to Edge. I believe this issue can be closed. Thanks, Docker team! |
@jkonowitch Correct. Windows 10 Home Insider users can download Docker Desktop Edge 2.2.2.0 or higher from https://hub.docker.com/editions/community/docker-ce-desktop-windows/ and use the WSL2 backend. |
Actually it did not work for me, but instead I was able to run it on WSL2 (probably after the 20.04 update).
|
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. |
I've successfully gotten docker-for-windows edge to run on Windows 10 Home using WSL2 as the daemon, and mounting
\\wsl$\Ubuntu
as a mapped drive to get that "native" experience.With builds 18945+ on Win 10 Home, you don't even have to do anything fancy for bridged networking between host and wsl server. (See: What's new for WSL in Insiders Preview Build 18945)
After getting everything working with native docker on WSL2 and docker-for-win client only on the Windows desktop, I tried to install the WSL2 Tech Preview, but got the familiar error:
If we can be specific about build number for Enterprise version, we should be able to do the same for Windows 10 Home.
Here are the steps I see for allowing the installer to run on Win 10 Home:
18917
or higher (depending on what networking code desktop already supports,18945
could be used/preferred instead-FeatureName VirtualMachinePlatform
which would be required for WSL2The text was updated successfully, but these errors were encountered: