question

karishmatiwari-msft avatar image
1 Vote"
karishmatiwari-msft asked ·

How to setup Azure Container Instance restart trigger?

How to automatically trigger ACI to pull the latest image from ACR?

[Note: As we migrate from MSDN, this question has been posted by an Azure Cloud Engineer as a frequently asked question]

Source: Azure Documentation GitHub Issues


azure-container-instances
10 |1000 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.

1 Answer

vipullag-MSFT avatar image
1 Vote"
vipullag-MSFT answered ·

To pull the latest image from ACR you need to restart the container instances. To do this automatically you can consider doing this with ACR webhooks. Please check trigger actions in this document. Once a new image is pushed to ACR, it will notify the webhook, then webhook can take action to restart the ACI.


Source: Azure Documentation GitHub Issues


·
10 |1000 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.