-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dotnet binary fails on Docker multiarch #47280
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
Tagging subscribers to this area: @vitek-karas, @agocke Issue DetailsWhen running the
Possibly it could be due to the fact that the process is wrapped by the qemu-x86_64 binary. I was not able to reproduce the problem on the official images, but it can be reproduced by downloading the Alpine binaries on a clean Alpine image. In this case, /proc//exe points to
|
This happens to me as well, running Apple's new M1 chip. Is there a workaround? |
The docker one is probably due to the qemu layer - we would need to figure out how to determine the current process path which would work (if As for Apple M1 - is it the same problem as in "running in docker using qemu emulation"?, or is it that running x64/arm64 on macOS directly is currently problematic? For the latter - we're working on it - there's a design discussion here: dotnet/designs#217 |
I should’ve been more specific with my reply. I receive the following
When running dotnet inside of an x86_64 docker image on my Apple M1 silicon. |
Both mentioned examples work on my system (host: x86-amd64-Windows). |
I can't seem to repro this anymore. Closing. |
When running the
dotnet
binary under Docker multiarch (host is aarch64):It appears the non-Apline version has a different problem, though I did not test it very much
Possibly it could be due to the fact that the process is wrapped by the qemu-x86_64 binary.
In this case, /proc//exe points to
/usr/bin/qemu-x86_64
, which does not exist on the file system (i.e. not in the Docker image)The text was updated successfully, but these errors were encountered: