question

JacopoMargutti-4180 avatar image
0 Votes"
JacopoMargutti-4180 asked MarguttiJacopo-9177 commented

Logic App container instance not updating to latest image in Container Registry

We have a Logic App that creates a container group from a docker image stored in an Azure Container Registry. We noticed that when updating the docker image in the container registry, the logic app seems to use the "old" version for an unknown amount of time (>1 h).
How long does it take for Logic Apps to update the docker images that it uses? Can it be made faster?

azure-logic-appsazure-container-instancesazure-container-registry
· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@JacopoMargutti-4180 Logic Apps in this case simply create the container instance. Azure Container Instances should automatically pick up the new image when created/updated. Could you elaborate on how your logic app is triggered and whether it is changing at-least one property when updating an existing container group?

0 Votes 0 ·

@PramodValavala-MSFT the logic app has a recurrence trigger and no, it does not update an existing container group, it creates a new one each time it is triggered. My problem is: when I update the docker image inside the container group, then test the logic app by manually clicking "run trigger", what I then see is that the container instance that is created does not use the latest container image available.

0 Votes 0 ·

@MarguttiJacopo-9177 Apologies for not getting back on this one.

I am a bit confused. You say you are updating the docker image. Do you mean manually? And is the Logic App creating another container group on execution? What image does it have to use - the same or a different image?

0 Votes 0 ·
Show more comments

0 Answers