Reputation: 647
I been trying to deploy docker with azure private registry, i been following below tutorial and when i tried az acr login -n command azure shell keeps giving me This command requires running the docker daemon, which is not supported in Azure Cloud Shell
https://learn.microsoft.com/en-us/azure/container-registry/container-registry-get-started-azure-cli
how could i enable docker daemon in azure cli
Upvotes: 3
Views: 5875
Reputation: 11
I had the same issue, then I tried to login from Shell console locally from VM and it was successful.
Steps:
Docker login <loginServer>
Visit locally your <ResourcesGroup>
from Azure Manager and find passwords, where you'll see current login and password
Finish your login with login and password data
To push image to Registry use CLI
Upvotes: 1
Reputation: 28284
Instead of using the Azure Cloud Shell, you could install Docker locally because the Azure Cloud Shell doesn't include all required Docker components (the docker daemon), you can't use the Cloud Shell for this quickstart. Docker provides packages that easily configure Docker on any macOS, Windows, or Linux system.
Then you also need to install Azure CLI locally.
Upvotes: 4