Skip to content

images won't work on ARM architecture CPUs (Mac M3) #3071

@lesca

Description

@lesca

Is your feature request related to a problem? Please describe the problem.

Hello,

Please consider to support to run on arm cpus, like Mac M3 / M4 ...

Currently, it refuses to run:

$ docker run --rm -it mcr.microsoft.com/microsoftgraph/powershell
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

However, I can run bash with the image, but if I run pwsh it fails with Segmentation fault

$ docker run --platform linux/amd64 --rm -it mcr.microsoft.com/microsoftgraph/powershell bash                                                                     
root@d960df434419:/# pwsh
PowerShell 7.4.2
Segmentation fault
root@d960df434419:/# pwsh-preview
PowerShell 7.4.2
Segmentation fault

I noticed this issue 1920 metioned the base powershell image doesn't support for arm. However, it now support - https://mcr.microsoft.com/en-us/artifact/mar/powershell

Describe the solution you'd like.

Please add arm support!!!

Additional context?

And FYI - The Azure powershell module works well on my mac:
https://mcr.microsoft.com/en-us/artifact/mar/azure-powershell/about

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions