containers / podman

Podman: A tool for managing OCI containers and pods.
https://podman.io
Apache License 2.0
22.36k stars 2.31k forks source link

Create Windows ARM releases #23121

Open thewtex opened 3 days ago

thewtex commented 3 days ago

Feature request description

Enable container development on Snapdragon X Elite ARM systems by providing a Windows ARM release binary that can be used with WSL.

Suggest potential solution

Provide arm64 in addition to amd64 Windows binaries.

Have you considered any alternatives?

I tried installing podman amd64, which does install and run. However, attempting to use it results in:

WARNING: image platform (linux/amd64) does not match the expected platform (linux/arm64)

Additional context

Snapdragon X Elite ARM laptops are available with Windows ARM:

https://www.lenovo.com/us/en/p/laptops/yoga/yoga-slim-series/yoga-slim-7x-gen-9-(14-inch-snapdragon)/len101y0049

And there is a Dev Kit mini-PC:

https://www.qualcomm.com/news/releases/2024/05/qualcomm-accelerates-development-for-copilot--pcs-with-snapdrago

baude commented 3 days ago

@ashley-cui something that you can add to our jenkins jobs?

ashley-cui commented 3 days ago

@thewtex Are you looking for a podman-remote-release-windows_arm64.zip, or an installer?

@baude The .zip would be easy, but an .msi or .exe could be significantly more research/work

thewtex commented 2 days ago

@ashley-cui an installer would be ideal, but a .zip would be helpful, too. Thank you in advance.

I installed podmain via winget. I think many others may do the same. I assume that an installer is required, and the winget package configuration needs to be updated. It looks like only 4.X is available there, by the way,

https://winget.run/pkg/RedHat/Podman

Luap99 commented 2 days ago

Arm support for the WSL distro was added in https://github.com/containers/podman/pull/16987 I assume compiling podman for arm on windows wouldn't be to difficult. However without access to devices to test this I am not sure if we should "release" cross compiled binaries.

Also not sure if hyperV disk images support it, I guess not.