My Azure Container Instance is stuck "waiting" state during Rebuild. Can you tell us why?

Saša 1 Reputation point
2024-08-23T19:09:58.2033333+00:00

Hello,

 

we try to rebuild containers for our app, but the containers are stuck in “waiting” without useful log messages. Is this a network issue. The build works fine locally.

 

The restart count seems to increase. Any idea how to debug or fix this?

 

All the best,

Saša

Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
711 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. deherman-MSFT 37,416 Reputation points Microsoft Employee
    2024-08-23T21:34:15.4066667+00:00

    @Saša

    There a few things you can check to try and diagnose and resolve this.

    Check Container Logs:

    Retrieve the logs for the container instance to identify any errors or issues. You can use the Azure CLI command:

      az container logs --resource-group <resource-group-name> --name <container-name>
    

    Restart the Container: Sometimes, simply stopping and starting the container instance can resolve the issue. You can do this via the Azure Portal or using the Azure CLI:

    az container stop --resource-group <resource-group-name> --name <container-name>
    az container start --resource-group <resource-group-name> --name <container-name>
    

    Network Configuration: When container groups are deployed in virtual networks, port 19390 is required to connect to Container Instances from the Azure portal.

    If you are still unable to resolve the issue, please open a support request so our engineers can troubleshoot this issue with you directly.


    If you still have questions, please let us know in the "comments" and we would be happy to help you. Comment is the fastest way of notifying the experts.

    If the answer has been helpful, we appreciate hearing from you and would love to help others who may have the same question. Accepting answers helps increase visibility of this question for other members of the Microsoft Q&A community.

    Thank you for helping to improve Microsoft Q&A!

    User's image


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.