[CD for container instance]

Hello,

Is there some correct way to redeploy new version of image to container instance. Currently I use this:

az container create
–resource-group $(resource.group)
–name some-name-$(env)
–location $(azure.location)
–image $(acr.name).azurecr.io/$(env):$(ReleaseTag)
–cpu 1
–memory 1
–vnet some-vnet
–vnet-address-prefix 10.0.0.0/24
–subnet some-$(env)-private-subnet
–subnet-address-prefix $(subnet.prefix)
–registry-login-server $(acr.name).azurecr.io
–registry-username $(acr.name)
–registry-password $(acr.password)
–ports 80

But maybe there is some more correct way.

Thanks in advance!

submitted by /u/sstetsiak
[link] [comments]

Leave a Reply