Update environment variables of provisioned Container Instance
Asked Answered
E

1

9

Has anyone ever tried to update the existing environment variable values after the container instance is provisioned in azure using Azure ACI?

Currently, it seems that there is no way to update them either using portal or using Azure CLI.

Thanks in advance.

Everetteverette answered 2/10, 2019 at 16:16 Comment(0)
W
6

This is covered in the following GitHub issue:

https://github.com/MicrosoftDocs/azure-docs/issues/31168

In that issue, we point to the following document:

https://learn.microsoft.com/en-us/azure/container-instances/container-instances-environment-variables

https://learn.microsoft.com/en-us/azure/container-instances/container-instances-update

All in all, you can update the variables however it still means recreating the container or "Redeploying" it with the update variables which in turns terminates the container and deploys a new one. So a bit of a yes and no answer and scenario.

Wolfgang answered 2/10, 2019 at 22:20 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.