Azure / Azure/azure-cli

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

Open
#20,989 1 comment 2 reactions 1 assignee Claimed by @jiasli View on GitHub
feature-request Packaging/Docker
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

**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:

- https://github.com/Azure/azure-cli/issues/7368

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.