Azure Container Instances Randomly Pulling and Restarting unchanged Image

Gareth Oates 6 Reputation points
2021-02-11T09:01:20.527+00:00

I received notification this morning at 08:02 that there was an availability error in my application. The App Service could not reach the container via the ip address I had configured, 10.24.2.5. I login to the portal to check and it seems the ip address of my container instances has changed to 10.24.2.4. According to the documentation

If the container group is stopped, started, or restarted, the container group's private IP is subject to change. If this happens, you will need to update the application gateway configuration.

I do not know why my container group was stopped, started or restarted, however I noticed a couple of events in the log which coincide with the time the incident occurred.

66893-pulling-events.png

This is strange to me, as there was nothing I did overnight to prompt azure container instances to try and fetch a new image. The image it's pulling is hosted in an Azure Container Registry, and from the portal we can see that this image has not changed since June 2020 and so pulling should not cause any stop/start/restart to occur.

66867-2021-02-11-09-50-21-digitalpost-activemq-microsoft.png

Can someone please explain why in the middle of the night, azure container instances takes it upon itself to try and pull a new version of my image, restarts itself and then gets a new ip address?

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

8 answers

Sort by: Most helpful
  1. Anonymous
    2022-02-11T17:14:03.787+00:00

    ... after I posted the above yesterday 2/10, last night the unknown chaos-monkey struck again pulling in an image from dockerhub repo and starting the container.

    Notice how the event log never captured the 2/9 restart shown in my prior post -- it's gone as if it never happened.

    173671-image.png

    0 comments No comments

  2. Julie Wang 0 Reputation points
    2024-04-19T02:24:13.23+00:00

    I'm facing the same issues. Is there any solution or possible reason for this ?

    0 comments No comments

  3. Samuel Lao 0 Reputation points
    2024-05-06T14:16:37.4666667+00:00

    One more with the same issue... Any news?

    0 comments No comments