question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

acr says "Please verify if docker daemon is running properly." despite docker daemon running

See original GitHub issue

Problem 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:closed
  • Created 6 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
udelbluecommented, Dec 21, 2017

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

0reactions
djyoucommented, Jan 18, 2018

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found