So I am trying to learn Kubernetes on Azure so doing the tutorial: https://docs.microsoft.com/en-us/azure/aks/tutorial-kubernetes-prepare-acr
Problem is on the login step the command does not work:
Log in to the container registry To use the ACR instance, you must first log in. Use the az acr login command and provide the unique name given to the container registry in the previous step.
Azure CLI
Copy
az acr login --name
<acrName>
The command returns a Login Succeeded message once completed.
What i get returned is that this command is not supported in Azure CLI!
jeff@Azure:~$ az acr login --name Z-------01
This command requires running the docker daemon, which is not supported in Azure Cloud Shell. You may want to use 'az acr login -n Z-------01 --expose-token' to get an access token, which does not require Docker to be installed.
I have done that yet from there I still cannot seem to get logged in to move on to the next step. Any advice? I don't mind using token but couldn't find the proper syntax to use it successfully. Love how their simple tutorial doesn't even work, not confidence inspiring to say the least Microsoft.
Please note I put the - in to mask the name.