Skip to content

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

Description

@p-

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Container Registryaz acrService AttentionThis issue is responsible by Azure service team.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions