Wrong binaries in arm64 K3d image
0xE282B0 opened this issue · comments
Problem description:
With the 0.9.0 release, a K3d image has been created with two supported platforms, linux/amd64
and linux/arm64
, both images contain the same shim binaries (x86-64). Using the linux/arm64
leads to this error when creating a container with those shims:
Failed to create pod sandbox: rpc error: code =
Unknown desc = failed to create containerd task:
failed to start shim: start failed: :
fork/exec /bin/containerd-shim-spin-v1: exec format error: unknown
Additional info:
root@kwasm-debug-6npz6:/# uname -m
aarch64
root@kwasm-debug-6npz6:/# file /mnt/node-root/bin/containerd-shim-spin-v1
/mnt/node-root/bin/containerd-shim-spin-v1: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), static-pie linked, with debug_info, not stripped
The arm64 image works only on MacOS with Docker Desktop since it is able to run x86_64 binaries in aarch64 images.