Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- az group create --name myResourceGroup --location eastus
- # create registry
- az acr create --resource-group myResourceGroup --name <acrName> --sku Basic --admin-enabled true
- # log in to registry
- az acr login --name <acrName>
- # get the full login server name for ACR - required for tagging
- az acr show --name <acrName> --query loginServer --output table
- # e.g. <acrName>.azurecr.io
- # tag image ready for push to ACR
- docker tag aci-tutorial-app <acrName>.azurecr.io/aci-tutorial-app:v1
- # push to ACR
- docker push <acrName>.azurecr.io/aci-tutorial-app:v1
- # list images in ACR
- az acr repository list --name <acrName> --output table
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement