Wednesday, February 19, 2020

Push an image to Azure container registry (acr)

az login
az account show --output table
az group create -n letskuberg -l australiaeast
az acr create -n letskubeacr -g letskuberg -l australiaeast --sku standard
az acr login -n letskubeacr
az acr list -o table

docker image list
docker tag letskube:local letskubeacr.azurecr.io/letskube:v1
docker push letskubeacr.azurecr.io/letskube:v1
az acr repository list -n letskubeacr -o table

No comments:

Post a Comment