Skip to content
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

failed to create shim task for images built with latest .NET SDK version #46050

Open
pietersap opened this issue Jan 16, 2025 · 3 comments
Open
Labels
Area-NetSDK untriaged Request triage from a team member

Comments

@pietersap
Copy link

Describe the bug

We are building containers using the built-in docker support in the dotnet SDK. De container registry and repository are specified in our .csproj files. We notice that when building with the latest patch, dotnet SDK 8.0.405, images are succesfully pushed to the registry, but they seem corrupt. When trying to start a container, we get the following error (both local and in Azure Container Apps)

docker: Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/app/HR.My.App": stat /app/HR.My.App: no such file or directory: unknown

Images built with dotnet SDK 8.0.404 (or 8.0.400) don't seem to have this problem. What could be the cause of this error?

Which .NET image(s) are you using?

No response

Steps to reproduce

No response

Other information

No response

Output of docker version

Output of docker info

@pietersap pietersap added the untriaged Request triage from a team member label Jan 16, 2025
@mthalman
Copy link
Member

cc @baronfel
I suspect this should be moved to the sdk repo.

@baronfel
Copy link
Member

Agree - this belongs there. I don't have permissions to transfer the issue, however.

@mthalman mthalman transferred this issue from dotnet/dotnet-docker Jan 16, 2025
@mthalman mthalman removed this from .NET Docker Jan 16, 2025
@mthalman
Copy link
Member

I've transferred it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-NetSDK untriaged Request triage from a team member
Projects
None yet
Development

No branches or pull requests

3 participants