C
C#2y ago
kaypee90

❔ .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
phaseshift
phaseshift2y ago
did yuo google it?
reflectronic
reflectronic2y ago
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
kaypee90
kaypee90OP2y ago
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.
Accord
Accord2y ago
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.
Want results from more Discord servers?
Add your server