docker / roadmap

Welcome to the Public Roadmap for All Things Docker! We welcome your ideas.
https://github.com/orgs/docker/projects/51
Creative Commons Zero v1.0 Universal
1.74k stars 255 forks source link

Please support Docker Desktop (WSL2) on Windows on ARM #91

Open dennisameling opened 4 years ago

dennisameling commented 4 years ago

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/

snickler commented 9 months ago

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). :)

bryansh commented 9 months ago

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)!

snickler commented 9 months ago

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!

sirredbeard commented 9 months ago

@bryansh Great news! Quick question: Will Docker Desktop on Windows on ARM support both Linux and Windows Containers?

bplasmeijer commented 9 months ago

@bryansh Great news! Quick question: Will Docker Desktop on Windows on ARM support both Linux and Windows Containers? Awesome, not sure how it will be done, but I opt-in for hybrid first, and no context switch on docker desktop: image Few old issues items from me: image I want to be able to run, and build Linux and Windows (LCOW) containers simultaneously. #79 https://github.com/docker/for-win/issues/6311#issuecomment-627166370

rvanlaak commented 9 months ago

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? πŸ‘€

bryansh commented 9 months ago

@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 https://github.com/docker/for-win/issues/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.

pbo-linaro commented 8 months ago

@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?

david-nordvall commented 8 months ago

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!

debarghyab commented 7 months ago

With growing popularity of ARM based devices running Windows, this would be very helpful. Looking forward to this.

jaysonvalentino-ppm commented 6 months ago

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.

dekaiser123 commented 4 months ago

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.

Frankdwu commented 4 months ago

Hi @bryansh Can we get ARM native docker? From following it says "Arm Native Docker tools for Windows are now available.β€― " https://blogs.windows.com/windowsdeveloper/2024/05/21/unlock-a-new-era-of-innovation-with-windows-copilot-runtime-and-copilot-pcs/

javaniecampbell commented 4 months ago

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:

image

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:

image but this is as far as i could get it failed as something:

image

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

isaali93 commented 4 months ago

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:

image

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:

image but this is as far as i could get it failed as something:

image

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.

bryansh commented 4 months ago

Hi @bryansh Can we get ARM native docker? From following it says "Arm Native Docker tools for Windows are now available.β€― " https://blogs.windows.com/windowsdeveloper/2024/05/21/unlock-a-new-era-of-innovation-with-windows-copilot-runtime-and-copilot-pcs/

Build available here: https://desktop.docker.com/win/main/arm64/149282/Docker%20Desktop%20Installer.exe

jasonrandrews commented 4 months ago

Installer is x64 and felt pretty slow, but once installed everything is arm64 and running well.

david-nordvall commented 4 months ago

Hi @bryansh Can we get ARM native docker? From following it says "Arm Native Docker tools for Windows are now available.β€― " https://blogs.windows.com/windowsdeveloper/2024/05/21/unlock-a-new-era-of-innovation-with-windows-copilot-runtime-and-copilot-pcs/

Build available here: https://desktop.docker.com/win/main/arm64/149282/Docker%20Desktop%20Installer.exe

@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)?

andriysavin commented 4 months ago

Hi @bryansh Can we get ARM native docker? From following it says "Arm Native Docker tools for Windows are now available.β€― " https://blogs.windows.com/windowsdeveloper/2024/05/21/unlock-a-new-era-of-innovation-with-windows-copilot-runtime-and-copilot-pcs/

Build available here: https://desktop.docker.com/win/main/arm64/149282/Docker%20Desktop%20Installer.exe

After installing, most of the processes are Arm64, but Docker Desktop Service is still x64.

image

alorne commented 4 months ago

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/

mbalcerzyk commented 4 months ago

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 GitHubhttps://github.com/docker/roadmap/issues/91#issuecomment-2129529266, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFNGZUGVIM4YJ7ITAA77IRTZD45NTAVCNFSM4M7QFBH2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMJSHE2TEOJSGY3A. You are receiving this because you were mentioned.Message ID: @.***>

mbalcerzyk commented 4 months ago

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 https://github.com/docker/roadmap/issues/91#issuecomment-2129529266 , 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: @. @.> >

vtkacenko commented 3 months ago

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?

doringeman commented 3 months ago

Hey @vtkacenko, Windows Containers are not supported yet on Windows on Arm. See https://github.com/microsoft/Windows-Containers/issues/224.

klpatel commented 1 month ago

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. I need to uninstall wsl from windows features though.