azureazure-container-instances

Update docker image in Azure Container Instances


I have an image in the repository on the docker hub. I created azure container instance based on the image in the repository on the docker hub. I updated the image in the repository on the docker hub. How can I apply changes to a container?


Solution

  • The ways I've found so far are

    1. to use the Azure Resource explorer.

      • Find the container group
      • Click read/write
      • Click edit
      • Change the image version
      • Put password in imageRegistryCredentials when using a private registry.
      • Click Post
    2. This blog post using the Go SDK.

    3. Delete and recreate the group by using an ARM template. You'll loose the public ip using this approach.

    You'll have some downtime in any of the cases above.