You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The docs do not explicitly state whether the containers are updated, when the properties of the az container create command stay the same.
It does say:
Modify or add at least one property of the group that supports update when you redeploy.
But this does not state explicitly what happens when no properties are modified.
It is very useful to know this, because you might use it during the following deployment process:
Create (or update) container instances
Restart container (optional or not?)
Preferred situation:
State explicitly what happens when NO properties are being updated. Does the container get restarted? Or not? Do we manually need to restart the container?
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
ID: df5263d2-e8da-ad3e-efcc-03c0a1088849
Version Independent ID: bbb97f05-ca9a-1558-a95e-bca1fe610752
@timotk
Thank you for bringing this to our attention.
I've delegated this to content author @tomvcassidy, who will review it and offer their insightful opinions.
Hi @timotk ! Sorry for the delay. I checked with the product team and running a create command a second time with all the same properties and values you included the first time and with no properties added or values modified will result in a container restart. You could also use az container restart to achieve this.
Details
Service: Azure Container Instances
Relevant documentation: https://learn.microsoft.com/en-us/azure/container-instances/container-instances-update
Feedback:
The docs do not explicitly state whether the containers are updated, when the properties of the
az container create
command stay the same.It does say:
But this does not state explicitly what happens when no properties are modified.
It is very useful to know this, because you might use it during the following deployment process:
Preferred situation:
State explicitly what happens when NO properties are being updated. Does the container get restarted? Or not? Do we manually need to restart the container?
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: