Skip to content

Docker images don't seem to run successfully on ARM (Mac M1) #1920

@gmatev

Description

@gmatev

It does not seem that the images are ARM compatible

$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
PowerShell 7.3.3
PS /> Write-Host "Test"

An error has occurred that was not properly handled. Additional information is shown below. The PowerShell process will exit.
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
   at Regex1_Scan(RegexRunner, ReadOnlySpan`1)

For comparison, I can install the graph module on top of m365pnp/powershell:2.1.1-alpine-3.14 and that works fine. Would be much better if I could use the official much smaller image though.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions