Push your first image to your Azure container registry using the Docker CLI

From wikieduonline
Jump to navigation Jump to search
az acr login
docker tag yourapp yourregistry.azurecr.io/yourrepo
docker push yourregistry.azurecr.io/yourrepo

Errors[edit]

unauthorized: {"errors":[{"code":"UNAUTHORIZED","message":"authentication required, visit https://aka.ms/acr/authorization for more information."}]}
Solution: az acr login

Related[edit]

See also[edit]

Advertising: