Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Release][Packaging] Running Docker arm64v8/* images on x86_64 need --platform=linux/arm64 #44480

Closed
kou opened this issue Oct 21, 2024 · 1 comment

Comments

@kou
Copy link
Member

kou commented Oct 21, 2024

Describe the enhancement requested

docker run -it --rm arm64v8/ubuntu:focal on x86_64 with QEMU works with old Docker but it doesn't work with recent Docker:

$ docker run -it --rm arm64v8/ubuntu:focal
Unable to find image 'arm64v8/ubuntu:focal' locally
focal: Pulling from arm64v8/ubuntu
docker: no matching manifest for linux/amd64 in the manifest list entries.
See 'docker run --help'.

We need explicit --platform=linux/arm64:

$ docker run --platform=linux/arm64 -it --rm arm64v8/ubuntu:focal
Unable to find image 'arm64v8/ubuntu:focal' locally
focal: Pulling from arm64v8/ubuntu
1b9f3c55f9d4: Already exists 
Digest: sha256:50e92a9f66f151e31be7e6c13dac8a847afcc663d54ffb59e246cd569abd4756
Status: Downloaded newer image for arm64v8/ubuntu:focal
root@71b1efed9b28:/# 

Component(s)

Packaging, Release

kou added a commit to kou/arrow that referenced this issue Oct 21, 2024
kou added a commit that referenced this issue Oct 22, 2024
…r run` (#44481)

### Rationale for this change

It seems that recent Docker requires `--platform` to run different architecture images with QEMU.

### What changes are included in this PR?

Use `--platform` explicitly.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* GitHub Issue: #44480

Authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
@kou kou added this to the 19.0.0 milestone Oct 22, 2024
@kou
Copy link
Member Author

kou commented Oct 22, 2024

Issue resolved by pull request 44481
#44481

@kou kou closed this as completed Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant