[Dockerfile] Multi arch image build support in nerdctl container image #1323
-
DescriptionInside nerdctl container image, wanted to build or run container image having different arch. Steps to reproduce the issue
Describe the results you received and expectedAbove operation to run image failed with below log root@fc84829df24d:/# nerdctl run --rm -it arm64v8/ubuntu uname -m But it should got successful and completed with printing "aarch64" as below root@c2720604c721:/# nerdctl run --rm -it arm64v8/ubuntu uname -m What version of nerdctl are you using?root@fc84829df24d:/# nerdctl version Server: Are you using a variant of nerdctl? (e.g., Rancher Desktop)No response Host informationroot@fc84829df24d:/# nerdctl info Server: root@fc84829df24d:/# |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Further, arm based image build is also failing root@fc84829df24d:/#
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
See https://github.com/containerd/nerdctl/blob/master/docs/multi-platform.md#preparation-register-qemu-to-procsysfsbinfmt_misc