Sample:
az login
Sample:
az acr create --resource-group <resource-group-name> --name <acr-name> --sku Basic
Reference https://docs.microsoft.com/en-us/azure/container-registry/container-registry-get-started-azure-cli
Reference: https://docs.microsoft.com/en-us/cli/azure/authenticate-azure-cli
Change "acr-name" with your container registry name.
Sample:
az acr login --name <acr-name>
This image is an example image.
Sample:
docker pull mcr.microsoft.com/azuredocs/aks-helloworld:v1
Sample:
docker tag mcr.microsoft.com/azuredocs/aks-helloworld:v1 <acr-name>.azurecr.io/samples/test
Sample:
docker push <acr-name>.azurecr.io/samples/test