Max memory per Container Instance in an ACR

RSale 0 Reputation points
2024-09-05T18:35:49.2066667+00:00

Hey,

I see that the max memory for a Container Registry ist 16gb. Is this shared across Containers or summed?

Let's say I have 4 containers that are build sequentially with a github actions script.

Do I have to split my memory across the 4 containers i.e. 4 each or can I use 16 everywhere?

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

1 answer

Sort by: Most helpful
  1. Mahesh Goud Juvvadi 1,070 Reputation points Microsoft Vendor
    2024-09-05T20:19:59.2566667+00:00

    Hi RSale,
    Thank you for reaching out to the Microsoft Q&A platform.

    Based on your question, we understand that you want to know about the Max memory per Container Instance in an ACR.

    The max memory per Container Instance in an ACR is indeed 16GB this limit applies to a container group, not individually to each container. This means that the memory is summed across containers in a group.

    If you have 4 containers you can use up to 16GB of memory in total, but you don't have to split it equally across the 4 containers. You can allocate the memory as needed, as long as the total memory usage does not exceed 16GB.

    Example, you could have one container using 8GB of memory, another using 4GB, and the remaining two using 2GB each, as long as the total memory usage is 16GB.

    Please refer the attached document for more information:

    https://learn.microsoft.com/en-us/azure/container-instances/container-instances-resource-and-quota-limits

    https://learn.microsoft.com/en-us/azure/container-instances/container-instances-faq

    If it was helpful, please click "Upvote" on his post to let us know.

    Thank You.

    1 person found this answer helpful.

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.