-
Notifications
You must be signed in to change notification settings - Fork 0
Update container via Azure CLI failed. #26
Comments
Hi HaoHoo, Could you share the full error message? There are a few immutable properties, I wonder if you changed any of those? thanks! |
I'm seeing the same issue and the only value that I'm changing is |
I had the same issue. You have to verify that the values for os type, restart policy, network profile, CPU, memory and GPU correspond to those of the current container. If you don't set them, it will take the default ones: In my case I had to re-set my network profile and restart policy with |
Pretty much the same as @luispinedaneo except my network profile was NOTE: I had an issue with the IP address not being visible after the update so I had to use the IP address flag to set the address to public like so: |
@luispinedaneo Can you share information about "I had to re-set my network profile and restart policy with --network-profile myprofile --restart-policy OnFailure" |
As docs shown we can just use 'create' to update the container if our docker image was updated. It's tell me that if I don't change the 'os type', 'restart policy', 'network profile', 'CPU', 'memory' and 'GPU', the container can be rebuild. But when I use this command line 'az container create --resource-group --name --image haohoo/image:version --location westus' is failed. It prompt 'The updates on container group '' are invalid...'
The text was updated successfully, but these errors were encountered: