Is there a different process that needs to be used besides just a new create in order to update an existing ACI?

Jaffar Mohammad 0 Reputation points
2024-05-17T11:05:14.84+00:00

I'm using a pipeline to call az container create to create an ACI from a container stored in an ACR. On initial run this works fine -- it creates the ACI, pulls the container, and starts it. But on subsequent runs it's extremely inconsistent. Sometimes it seems to work, sometimes it works but takes a long time, and sometimes it never works at all.

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

1 answer

Sort by: Most helpful
  1. v-vvellanki-MSFT 4,680 Reputation points Microsoft Vendor
    2024-05-17T12:24:27.0666667+00:00

    Hi @Jaffar Mohammad ,

    Thanks for contacting Microsoft Q&A platform.

    To update an existing container instance, we don't have "update" command, we will have to use az container create command.

    You can find more info in the following document.
    https://learn.microsoft.com/en-us/azure/container-instances/container-instances-update

    Can you make a note of the scenarios and let us know in which cases it takes time & in which cases it takes long time etc. (Is that happening frequently?). So that we can help you in better way.

    Hope this helps you.

    0 comments No comments