-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Description
When running the dotnet binary under Docker multiarch (host is aarch64):
docker run --platform linux/amd64 mcr.microsoft.com/dotnet/sdk:5.0-alpine dotnet --info
Failed to resolve full path of the current executable [/proc/self/exe]
It appears the non-Apline version has a different problem, though I did not test it very much
docker run --platform linux/amd64 mcr.microsoft.com/dotnet/sdk:5.0 dotnet --info
Failed to create CoreCLR, HRESULT: 0x8007FF06
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)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
No status