C
C#13mo 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
phaseshift13mo ago
did yuo google it?
reflectronic
reflectronic13mo 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
kaypee9013mo 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
Accord13mo 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
More Posts