Azure / azure-cli

Azure Command-Line Interface
MIT License
4.02k stars 2.99k forks source link

[Feature Request] Docker image for linux/arm64/v8 #20989

Open jiasli opened 2 years ago

jiasli commented 2 years ago

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

From https://github.com/MicrosoftDocs/azure-docs-cli/issues/2906

Running the Azure CLI docker image on Apple Silicon will show warning:

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

The warning indicates the docker image is built for linux/amd64, but the host machine is linux/arm64/v8. This will lead to low performance as docker needs to translate the instruction set.

Describe the solution you'd like

We should release docker image for linux/arm64/v8.

Related:

yonzhan commented 2 years ago

Docker image for linux/arm64/v8