I have an azure container app running an aspdotnet core 6 webapi. I try to update it using azure cli and get a successful response but the update actual does not happen. I even try to redeploy the container again using the cli but does not work. What could really be the issue.
Asked
Active
Viewed 1,375 times
0
-
Please provide enough code so others can better understand or reproduce the problem. – Community Jun 19 '22 at 13:57
1 Answers
0
To update a container app, we use the az containerapp update
cmdlet...
A new revision will be generated if your container app update contains revision-scope changes.
These and other configuration variables and parameters can also be defined in a YAML
file.
See az containerapp revision copy for complete information.
This below sample code updates the container image.
az containerapp update \
--name <APPLICATION_NAME> \
--resource-group <RESOURCE_GROUP_NAME> \
--image <IMAGE_NAME>
The Revision copy command can also be used to update your container app.
Please refer this Microsoft Document about Revisions in Azure Container Apps.

RajkumarPalnati
- 541
- 2
- 6