-
Notifications
You must be signed in to change notification settings - Fork 29
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
with own base image api is not starting anymore #498
Comments
@LennartKleymann can you provide some more information, like an https://aka.ms/binlog of the publish step? |
BinLog is a little bit complicated, because it contains sensitive data for me. |
Sure! Create a new developer community ticket here, and once you've created the ticket you can upload the binlog privately to that site. Then you can comment back here with the link to the ticket you just created and I'll be able to securely access the binlog. |
Okay thanks. I attached the binlog to a private comment for microsoft only. |
Hi @LennartKleymann - I took a look at your binlog (thank you!) and what I found is that your base image is for a different architecture than your packaged application:
as a result, the binaries built from your
Separately, I'm going to log an issue against our tooling - when the base image is a single image (not a manifest list) we currently assume that the architectures match. We should actually verify this and error out, since the application will not be able to run in this scenario. |
@LennartKleymann can you take a look at this comment? This is what I'm hoping to get into .NET 8 that would identify and force you to handle this error case. |
@baronfel Hey, sorry for the late response. I think that the comment you link is really good to prevent confusion, thank you really much. |
If i publish using this command:
dotnet publish -c Release -p:ContainerBaseImage=registry-1.docker.io/kleymannl/dotnet-libfontconfig1:latest -p:ContainerImageName=replaced/replaced -p:RuntimeIdentifier=linux-x64
the container is not starting anymore and I get following error message:
replaced.path: no such file or directory
My base image looks like this:
The text was updated successfully, but these errors were encountered: