This behavior should be expected. When you configure a container image for an Azure App Service, a webhook is created. This webhook will trigger when new images are pushed to the registry, causing the App Service and pull the new image and restarted the container. If you don't want this behavior to occur because you're testing the deployed image, then I suggest deploying the image with a different tag, e.g. myregistry/myimage:test than the one the App Service is using.
Azure App service getting restarted whenever i push images to the ACR
Jerin Joy
26
Reputation points
App service getting restarted whenever I push new images to the Azure container registry. Using Docker compose with multi-container.
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
Answer accepted by question author
-
Ryan Hill 30,326 Reputation points Microsoft Employee Moderator2021-10-15T14:27:31.75+00:00