❔ .net 7 docker container error: qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2' HELP
I am getting this error (qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory) when I run .net7 docker container on my M1 macbook. Does anyone know how to fix this?
4 Replies
did yuo google it?
even if you can fix it (the first result on google for the error looks like it would work), .NET does not work in QEMU
there are a number of bugs in QEMU that break .NET entirely and nobody is fixing them
you need to use a native Arm64 container
Yeah, I googled it and the proposed solution was to add
FROM --platform=linux/amd64
in the Dockerfile. But in my case, this is an image that has already been built and I am pulling from docker hub.Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.