azure-powershell
azure-powershell copied to clipboard
[Feature]: azure-powershell container on arm64 hosts
Description of the new feature
Currently we use mcr.microsoft.com/azure-powershell:latest on amd64 hosts, it works perfectly fine. We would like to like to have a similar container image that would run on an arm64 host.
Proposed implementation details (optional)
No response
It requires PowerShell support it. We will follow up.
PowerShell item https://github.com/PowerShell/PowerShell-Docker/issues/520
For info, it is now possible to run PowerShell Docker image on Apple Silicon, you can use preview-mariner-2.0-arm64 tag:
docker run -it mcr.microsoft.com/powershell:preview-mariner-2.0-arm64
PowerShell 7.4.0-preview.4
PS /> $PSVersionTable
Name Value
---- -----
PSVersion 7.4.0-preview.4
PSEdition Core
GitCommitId 7.4.0-preview.4
OS CBL-Mariner/Linux
Platform Unix
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Then you can import the Az module:
Install-Module -Name Az -Repository PSGallery -Force
And execute PowerShell Az commands on an Apple M2 (in my case):
Connect-AzAccount -UseDeviceAuthentication