I am unable to stop the Container App from Azure Portal

Nam Le 0 Reputation points
2025-05-19T21:50:14.8966667+00:00

Getting the error The Container App failed to stop when I try to stop the container app from Azure Portal.

Edit:

I was able to locate the expanded log:
{"error":{"code":"ContainerAppStopOperationError","message":"Failed to stop container app 'image-generator'. Error details: The following field(s) are either invalid or missing. Field 'template.containers.image-gen.image' is invalid with details: 'Invalid value: \"mvpcontainer.azurecr.io/image-gen:production\": no child with platform linux/amd64 in index mvpcontainer.azurecr.io/image-gen:production';.."}}

Azure Container Apps
Azure Container Apps
An Azure service that provides a general-purpose, serverless container platform.
691 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Shireesha Eeraboina 3,435 Reputation points Microsoft External Staff Moderator
    2025-05-20T12:17:21.3833333+00:00

    Hello Nam Le,

    Thank you for your patience and for sharing your feedback on the Q&A community platform. I’m glad to hear that you were able to resolve your issue, and I appreciate you sharing your solution! Your contribution is valuable and can help others in the community facing similar challenges.

    As per the Microsoft Q&A community policy, "The question author cannot accept their own answer. They can only accept answers by others"

    I’m reposting your solution here so you can mark it as accepted if it resolves your query:

    "The issue was fixed by specifying the platform explicitly. I added --platform linux/amd64 to the docker buildx build command".

    Thank you again for your time and patience throughout this issue.  

    Please don’t forget to Accept Answer and Yes for "was this answer helpful" wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.