5 containers not fully started within one container group, but it's working when putting the 5th container in 2nd group

Allen Han 1 Reputation point
2023-08-09T21:43:13.9133333+00:00

I have an application that consists of 5 docker images. When creating all 5 containers in one group, it never succeed. It would time out. However, if I put the 5th container in the 2nd container group, it worked. Any ideas about the issue?

The 5th container is a frontend app running with nginx. It's quite small. The other containers included mongo, activemq, vault, and a springboot service.

Azure Container Registry
Azure Container Registry
An Azure service that provides a registry of Docker and Open Container Initiative images.
445 questions
Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
690 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Eddie Neto 1,226 Reputation points Microsoft Employee
    2023-08-10T07:58:19.7933333+00:00

    Hi @Allen Han

    Thanks for reaching Microsoft Q&A.

    Are you setting up the limits and requests for each container? If not, please configure and test again.

    Do you have any logs to be shared?

    https://learn.microsoft.com/en-us/azure/container-instances/container-instances-container-groups#resource-allocation

    Also please only share here the Resource Group name and Name of ACI.


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.