dotnet-docker
dotnet-docker copied to clipboard
Unable to capture dumps from containers based on sample images
Describe the Bug
Using diagnostic tooling to capture dumps from containers that are running the sample images fail with error message "Problem launching createdump (may not have execute permissions): execve(./createdump) FAILED No such file or directory"
Steps to Reproduce
Bug logged from customer: https://github.com/dotnet/dotnet-monitor/issues/2932
Using dotnet-dump
will have this issue too.
Other Information
This appears to have regressed when the samples were changed from Debian to Alpine and trimming was introduced: https://github.com/dotnet/dotnet-docker/commit/f55f6c8a160c1a692de46dff7338033eae5962a7#diff-a4b03be896dbf59bfab94d8ecb7216f2f7fedd1ff7feb4ba17a8fee9e1b53dba