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

From wikieduonline
Revision as of 11:34, 17 July 2024 by Welcome (talk | contribs) (→‎Related)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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: