-
Notifications
You must be signed in to change notification settings - Fork 261
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
Please support Docker Desktop (WSL2) on Windows on ARM #91
Comments
Hi, Arm lent us a Windows 10 machine a while back and I did a little testing. Docker runs fine on Arm64 WSL2 if you install it yourself (via https://get.docker.com/ ), which is great, once you have updated to a Windows version that supports WSL2. Building Docker Desktop has a bunch of issues around software we use and available toolchains, and as you say lack of emulation for 32 bit x86. This situation should get better over time as the Windows arm64 ecosystem gets better and we update some dependencies. If other people are interested please let us know. |
That's great to know, thanks for the info! Will try that right after the stable version of Windows 10 2004 is released (rumor says that'll be on May 28) 🚀 |
I am extremely interested in this and would love to use it to build my SQL Server containers! |
I have docker installed in wsl 2 but without systemd it's hard to start :-/ would sure love to have this. |
+1 for getting docker desktop running on win10 arm64. I would love this. |
+1 for docker desktop running on win10 arm64. I did manage to get docker-ce running using a script inside Ubuntu 20.04 (downloaded from https://get.docker.com ). That is working well enough for now but native Docker desktop would integrate better with other stuff (for example, Visual Studio Code extensions). |
@justincormack How do you actually run it? I can install fine with the script but I cant start the docker service inside WSL2 ubuntu 20.04
|
After installing docker on wsl 2 ubuntu 20.04 on ARM (surface pro x) I start it by running in WSL:
works fine. I do really wish that docker desktop was supported, though. |
I tried and no this doesn't work - same error, so I don't think this is even usable for most people. |
It actually looks like something to do with the iptables behaviour in WSL2, I wonder anyone here got clue on how to fix it? Looks related to this? kubernetes-sigs/kind#741 |
@dsmk May I know if you come across any issue? Are you changing the kernel somehow to get this working? |
+1 for Docker Desktop on Windows on Arm64. I'm not sure if it's possible to run Windows containers at the moment (maybe in Insider builds which support Hyper-V on Arm64), but WSL 2 is officially supported on Arm64, so this is already a good reason to have Docker running on it. Now that Visual Studio Code also runs natively on Windows on Arm64, one can build a proper development environment with WSL 2 on devices like Surface Pro X. |
Another vote for Docker Desktop on ARM64, as a Surface Pro X user. |
+1 for docker desktop running on win10 arm64. |
I'll throw a +1 on here. |
+1 |
1 similar comment
+1 |
@Alovchin91 Windows containers are not currently supported on Arm Windows. You should ask Microsoft to support that, currently there are no base images available for example. |
@justincormack I don't really care about Windows containers tbh, running Linux containers on Windows on ARM would have been good enough 🙂 I know this can be done from WSL 2, but it would be nice to see Docker Desktop supporting it. |
Give us WSL 2 support with docker desktop and we'll be happy =] |
Golang doesn't yet support building windows/arm64 binaries, and I think golang is a big part of docker desktop, so this will probably have to wait a while yet. Hoping for windows/arm64 in v1.16 of golang, which is early 2021. |
Tracking issue for golang: golang/go#36439 |
Just wanted to drop in and say: I've been running docker inside of WSL2 rather than using Docker Desktop and it's been great. (This is on a a Surface Book 3). I actually prefer it to Docker Desktop on Windows, I do have to manually start the docker service, but the performance is actually much better. I'll be trying this on ARM once I get the new Pro X with the SQ2. Even if 64 bit support is added via emulation there's no way it could compete with just running Docker natively on ARM via WSL2. |
+1 for Windows ARM 64 in general (Samsung Galaxy Book S) |
+1 for Windows on ARM (Surface Pro X). I know this could take a while, so if all we could get for now is a way to get the Docker CLI locally, but the real Docker host controlled remotely, I'd be happy. The only thing that wouldn't work well with a remote Docker host is bind mounts, but there's not much that can be done about that. |
Hi all, |
Hi @christophermclellan @bryansh - Would love to hear of anything available regarding status of the effort to make this happen, and anything that the community could help out with (if possible). :) |
Hi @snickler - appreciate your excitement for Docker on Windows on ARM 🙂 While I'm not able to share a targeted Docker Desktop release at this time; I will say that this item is near the top of our roadmap and should be In Progress soon. I would expect support by the end of Q2 2024. Cheers (and Happy New Year)! |
This is the best news I've heard thus far! Thanks so much! |
@bryansh Great news! Quick question: Will Docker Desktop on Windows on ARM support both Linux and Windows Containers? |
|
Thanks for the update @bryansh ! Given the recent exclusive that the Microsoft Surface Laptop 6 is also going to be released with ARM chips, it might be worth contacting them for a “CADMUS” dev machine to increase the success rate on adding native Windows support for ARM as new and exciting architecture to Docker Desktop. We are reevaluating our development machines vendor soon, and that ARM Surface Laptop 6 is on the list as potential stretch goal. Anything that's worth sharing with us in that regard? 👀 |
@sirredbeard - 👋 Both Windows and Linux containers are expected to be supported; we could discover some blocking technical issue that precludes supporting both...but haven't thus far. @bplasmeijer - 👋 Thanks for the poke on docker/for-win#6311. No updates to share at this time, but I can assure you that conversations around context switching are ongoing. I will update 6311 when we're able to make a commitment. @rvanlaak - 👋 When enabling Docker Desktop on Windows ARM, we will be working to ensure it works fantastically on all Windows ARM devices. |
@bryansh One of the blocking point to support Windows containers is the lack of availability of windows base images. Alas, only Microsoft can decide to start distributing those. Is it something you are aware of and discussing with MS? |
Great news, @bryansh, that Docker Desktop might be released for Windows on ARM during 2024. I am one of the few developers actually trying to do work on a Windows on ARM device today (Surface Pro 9) by running Docker Engine in WSL2 (using VS Code's Dev Containers extension to set up a developer container in Docker). Currently, however, there are issues which makes running anything intense on WSL2 (such as Docker Engine, compilers, etc.) a non starter (see WSL issues 10677 and 9454 for more information). It would be really interesting to see if you encounter these problems as well and if you are able to work around them! |
With growing popularity of ARM based devices running Windows, this would be very helpful. Looking forward to this. |
I'm looking forward to this. I'm using a Mac with Apple Silicon, and I frequently use a Windows VM for development with Parallels. It would be amazing to have one machine with both systems. |
Another vote from me, wsl2 backend is a necessity for docker's k8s to run on windows. I've also heard Mac with Apple Silicon need to put some effort to make mac's filesystem i/o to be closer bare metal so that has kind put me off going down the mac route for development. |
Hi @bryansh |
Hi everyone in this build session at 27:33 & bryansh https://build.microsoft.com/en-US/sessions/9d806202-be61-4b5d-ba0d-59ecfcaf0482?source=sessions Official Docker Desktop Annoucement from the CEO, Justin Cormack and it's available on v4.30.0 . However, I am on Windows DevKit if I installed via winget or official docker website, the download button or source still referencing the x86_x64 or amd64 architecture; See the image below: Official Installer partial runs due to emulation of x86_x64 or amd64 architecture but if you open Task manager, you'll find that is is running on amd64 or x86_x64 architecture: but this is as far as i could get it failed as something: Until the official release installer gets updated this is as far as we can get, I'll stick with my docker engine setup I have for now F.Y.I. - There is an installer at the following for ARM but it still buggy same issue exists: https://desktop.docker.com/win/main/arm64/149282/Docker%20Desktop%20Installer.exe |
The ARM installer seems to work fine on Lenovo X13s, though I haven't run anything except a hello world container to test it out. |
Build available here: https://desktop.docker.com/win/main/arm64/149282/Docker%20Desktop%20Installer.exe |
Installer is x64 and felt pretty slow, but once installed everything is arm64 and running well. |
@bryansh That's super! I haven't been able to test it but were you able to solve the problems reported in WSL kernel issues 11274, 10667 and 9454 (basically that WSL2 on arm hangs whenever it has to do anything complex)? |
After installing, most of the processes are Arm64, but Docker Desktop Service is still x64. |
I don't know if this is relevant or not, I'll be trying the arm64 build above later today, but the official Docker announcement says it is the 4.31 version that supports arm64 and the current download is 4.30 (as of last night when I tried). https://www.docker.com/blog/announcing-docker-desktop-support-for-windows-on-arm/ |
Please look in Task Manager the Docker Desktop application, go to details (processes) and see if it is ARM64 or ARM64 (x64 compatible) platform. There should be also Docker Daemon (dockerd.exe, or something like that) which connects to WSL2.
If you can post images, even better.
Regards
Marcin Balcerzyk
…________________________________
From: Cavan Vannice ***@***.***>
Sent: Friday, May 24, 2024 3:23:37 PM
To: docker/roadmap ***@***.***>
Cc: Marcin Balcerzyk ***@***.***>; Mention ***@***.***>
Subject: Re: [docker/roadmap] Please support Docker Desktop (WSL2) on Windows on ARM (#91)
I don't know if this is relevant or not, I'll be trying the arm64 build above later today, but the official Docker announcement says it is the 4.31 version that supports arm64 and the current download is 4.30 (as of last night when I tried).
https://www.docker.com/blog/announcing-docker-desktop-support-for-windows-on-arm/
—
Reply to this email directly, view it on GitHub<#91 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AFNGZUGVIM4YJ7ITAA77IRTZD45NTAVCNFSM4M7QFBH2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMJSHE2TEOJSGY3A>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
If you look at presentation during Build on 21st of May at <https://mediusdownload.event.microsoft.com/asset-5a75c7cc-60ee-4a03-b1a7-8f95cd0ede31/Video-BRK249_v1-FHD-6000kbps-6000.mp4?sv=2018-03-28&sr=b&sig=lkeV3aNzk%2BJcqtot7U7Dcdx5BDF0c5%2BHGCe71j5DmPA%3D&st=2024-05-22T19%3A52%3A03Z&se=2029-05-22T19%3A57%3A03Z&sp=r&rscd=filename%3DN2F9-BRK249-Introducing%2Bthe%2BNext%2BGeneration%2Bof%2BWindows%2Bon%2BArm.mp4> mediusdownload.event.microsoft.com/asset-5a75c7cc-60ee-4a03-b1a7-8f95cd0ede31/Video-BRK249_v1-FHD-6000kbps-6000.mp4?sv=2018-03-28&sr=b&sig=lkeV3aNzk%2BJcqtot7U7Dcdx5BDF0c5%2BHGCe71j5DmPA%3D&st=2024-05-22T19%3A52%3A03Z&se=2029-05-22T19%3A57%3A03Z&sp=r&rscd=filename%3DN2F9-BRK249-Introducing%2Bthe%2BNext%2BGeneration%2Bof%2BWindows%2Bon%2BArm.mp4 at 27:34 min, the version used there is 4.30.
Regards
Marcin Balcerzyk
From: Cavan Vannice ***@***.***>
Sent: Friday, May 24, 2024 3:24 PM
To: docker/roadmap ***@***.***>
Cc: Marcin Balcerzyk ***@***.***>; Mention ***@***.***>
Subject: Re: [docker/roadmap] Please support Docker Desktop (WSL2) on Windows on ARM (#91)
I don't know if this is relevant or not, I'll be trying the arm64 build above later today, but the official Docker announcement says it is the 4.31 version that supports arm64 and the current download is 4.30 (as of last night when I tried).
https://www.docker.com/blog/announcing-docker-desktop-support-for-windows-on-arm/
—
Reply to this email directly, view it on GitHub <#91 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AFNGZUGVIM4YJ7ITAA77IRTZD45NTAVCNFSM4M7QFBH2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMJSHE2TEOJSGY3A> .
You are receiving this because you were mentioned. <https://github.com/notifications/beacon/AFNGZUAOV3BRE3CZJYK7KCLZD45NTA5CNFSM4M7QFBH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOP3XATMQ.gif> Message ID: ***@***.*** ***@***.***> >
|
Great progress with publishing Docker Desktop for Windows ARM64! Was quite excited until I realized that Windows container daemon is disabled for this installation. Any plans on adding support for windows container daemon? |
Hey @vtkacenko, Windows Containers are not supported yet on Windows on Arm. |
I tried different versions of both wsl and Docker desktop on Microsoft Surface Pro ARM54 machine with windows 11 home, finally Desktop Docker for Windows ARM(Beta) and Microsoft.WSL_2.2.4.0_x64_ARM64 made docker working for me. |
Tell us about your request
Devices that run Windows on ARM (arm64), like the Microsoft Surface Pro X, are capable of running WSL2 starting with the Windows 10 May 2020 (2004) update. Currently, Docker Desktop for Windows requires a x64 PC, so it's not possible to run Docker Desktop on these devices.
Which service(s) is this request for?
Docker Desktop for Windows
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
I'm trying to get Docker Desktop to work on my Windows on ARM (arm64) device with the WSL2 backend, but because it's x64-only, there seems to be no way for me to start using it.
Are you currently working around the issue?
Windows on ARM supports emulation for 32-bit/x86 apps, but since Docker Desktop is a x64-only app, we can't benefit from emulation and seem to have absolutely no way to get Docker Desktop to run on these devices.
The only options at the moment are to remote SSH or RDP into a machine that has Docker installed and do development on there, or run Docker within WSL2 using the regular Linux installation instructions.
Additional context
WSL2 general availability announcement: https://devblogs.microsoft.com/commandline/wsl2-will-be-generally-available-in-windows-10-version-2004/
The text was updated successfully, but these errors were encountered: