Azure Container Registry Operations: Difference between revisions
Jump to navigation
Jump to search
(→Create) |
|||
Line 22: | Line 22: | ||
=Push an Image to Registry= | =Push an Image to Registry= | ||
Login | Login. Specify only the registry name when logging in with the Azure CLI. Don't use the login server name, which includes a domain suffix like azurecr.io. | ||
<syntaxhighlight lang='bash'> | <syntaxhighlight lang='bash'> | ||
az acr login --name <registry-name> | az acr login --name <registry-name> | ||
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 23:07, 12 April 2021
Internal
Create
Portal
https://portal.azure.com/ → Create a Resource → Containers → Container Registry
Subscription:
Resource group → Create New
Registry name.
The name may contain only alpha numeric characters and be between 5 and 50 characters.
Name: aksdev.
Will be available as askdevcr.azurecr.io
CLI
Push an Image to Registry
Login. Specify only the registry name when logging in with the Azure CLI. Don't use the login server name, which includes a domain suffix like azurecr.io.
az acr login --name <registry-name>