Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning: failed to get default registry endpoint from daemon #63

Closed
rich-davies opened this issue Sep 15, 2017 · 5 comments
Closed

Warning: failed to get default registry endpoint from daemon #63

rich-davies opened this issue Sep 15, 2017 · 5 comments

Comments

@rich-davies
Copy link

I have created a new Container Registry and, using the Cloud Shell, am unable to connect to it using az acr login --name .
I get the following message:
"Warning: failed to get default registry endpoint from daemon (Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?). Using system default: https://index.docker.io/v1/
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?"

@sajayantony
Copy link
Contributor

Cloud shell does not support docker commands and hence you cannot run any docker daemon related commands like docker login or docker run. ACR login command will actually call one of these and the error what you are seeing is the limitation of cloud shell.
Was there documentation that indicates this would work? If so we should get that fixed.

@rich-davies
Copy link
Author

I'm following the tutorial here. The Quicklab says that all actions can be done using the cloud shell but, to be fair, the tutorial doesn't make the same assertion. Maybe an update to the tutorial pages to warn people off Cloud Shell?

@mmacy
Copy link
Contributor

mmacy commented Sep 15, 2017

Thanks for the notification on this, @rich-davies.

As @sajayantony mentions, this isn't an ACR issue, per se, but rather part of a larger issue we're addressing on the documentation side. We’ve removed the Cloud Shell messaging from some articles which cannot be completed totally within the Cloud Shell, and are continuing to do so where it makes sense.

I have a PR open in our documentation repo to address this issue.

@mmacy
Copy link
Contributor

mmacy commented Oct 3, 2017

@rich-davies Hi Rich, we have added the following text to the first tutorial in both the ACS and ACI documentation sets. You can find it in the Before you begin section of both.

Azure Cloud Shell does not include the Docker components required to complete every step this tutorial. Therefore, we recommend using a full Docker development environment.

Please let us know if this resolves this issue, thanks. -MM

Cc: @sajayantony @neilpeterson

@sajayantony
Copy link
Contributor

ACS docs published. Closing for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants