Container instance are in waiting state, we have restarted, stopped and started and redeployed nothing is working

Nosa Ahanor 0 Reputation points
2025-02-14T18:44:17.51+00:00

Container instance are in waiting state, I have restarted, stopped and started and redeployed nothing is working, the container is deployed in switzerland north.

But when I pull the image from the azure registry, and run it locally with docker everything works fine.
Note: I tried check the log but no logs

IMG_5442

Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
730 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Mounika Reddy Anumandla 2,585 Reputation points Microsoft Vendor
    2025-02-17T06:46:00.61+00:00

    Hi Nosa Ahanor,

    Welcome to the Microsoft Q&A Platform. Thank you for posting your query here.

    Waiting: The container is waiting to run. This state indicates either init containers are still running, or the container is backing off due to a crash loop.
    Could you please Retrieve container logs and events, follow the steps from these: https://learn.microsoft.com/en-us/azure/container-instances/container-instances-get-logs

    As you have mentioned, you have restarted, stopped and started and redeployed nothing is working. Meanwhile, I can suggest you with some basic troubleshooting steps:

    • ACR Access: Ensure that your container can pull the image from ACR (authentication, permissions).If the image is stored in a private registry, you must ensure that your ACI has access to pull the image.
    • If the container is not allocated enough resources, it might fail to start and stay in the waiting state. Check your container’s memory and CPU allocation. Make sure that your container has sufficient CPU and memory resources.
    • Try running a simpler container (e.g., nginx) in ACI to see if it starts correctly. If this works, the issue is specific to your container image.
    • Can you please try to deploy your container in a different region?
    • Azure Service Health will provide updates on outages or other issues that might be affecting container services.https://azure.status.microsoft/en-us/status

    Hope this helps!

    If you have any further queries, do let us know.

    If the answer is helpful, please click "Accept Answer" and "Upvote it."

    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.