acr says "Please verify if docker daemon is running properly." despite docker daemon running
See original GitHub issueProblem
After performing a login to the container registry: az acr login --name <acrName>
acr says “Please verify if docker daemon is running properly.” despite docker daemon running.
Suspected cause
The root cause of this issue seems to be that acr/custom.py tries to run docker ps
which needs elevated rights on some systems. So the command returns a non-zero error and throws an exception.
So a solution for the cli might be to provide a better warning.
A workaround/solution for people encountering this issue is to run the command with sudo
:
sudo az acr login --name <acrName>
Environment summary
Install Method: apt-get azure-cli (2.0.22) acr (2.0.16)
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Error reference for registry health checks - Azure Container ...
This error means that the Docker daemon status is unavailable, or that it couldn't be reached using the CLI. As a result, Docker...
Read more >Docker cannot start on Windows - Stack Overflow
First, verify that Docker Desktop application is running. If not, launch it: that will run the docker daemon (just wait few minutes). Then,...
Read more >Support for Docker and OCI Containers - Apptainer
Every time you use a docker:// URI to run, pull etc. a container Apptainer will make requests to Docker Hub in order to...
Read more >How To Setup Docker Containers As Build Agents For Jenkins
If you want docker based Jenkins setup, you can follow this tutorial -> Setup Jenkins On a Docker ... Make sure the docker...
Read more >Troubleshoot Cloud Run issues
To resolve, you may try setting the --allow-nondistributable-artifacts flag in the Docker daemon. Serving errors. This section lists issues that you might ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
or user this docker login myregistry.azurecr.io -u xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx -p myPassword will allow you to login from docker not using the az cli more info here https://docs.microsoft.com/en-us/azure/container-registry/container-registry-get-started-docker-cli
@gimler It’s by design that
docker
wasn’t installed in the CLI container, please see https://github.com/Azure/azure-cli/pull/3747#pullrequestreview-44628171 What you’ve suggested are exactly the steps in acr doc.