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

Unable to login to docker from command line - Ubuntu #11989

Closed
vivganes opened this issue Apr 1, 2015 · 3 comments
Closed

Unable to login to docker from command line - Ubuntu #11989

vivganes opened this issue Apr 1, 2015 · 3 comments

Comments

@vivganes
Copy link

vivganes commented Apr 1, 2015

Error seen after "sudo docker login":
Post http:///var/run/docker.sock/v1.17/auth: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS?

vivek@gvivek-gsu-hyd:~$ uname -a
Linux gvivek-gsu-hyd 3.13.0-48-generic #80-Ubuntu SMP Thu Mar 12 11:16:15 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

I have logged out and logged in after installing docker using steps at http://docs.docker.com/installation/ubuntulinux/

Could you please help me in getting docker to run?

@marcelloromani
Copy link

/var/run/docker.sock: no such file or directory.

It could be a problem related to docker daemon not automatically starting under certain Ubuntu versions. See #12002 for an example.

Which version of Ubuntu are you running?
cat /etc/lsb-release

Is the daemon running?
sudo service docker status

@dustinkirkland
Copy link

'Twas exactly my problem. Fixed with 'sudo service docker start'. A more meaningful error message would be nice.

@cpuguy83
Copy link
Member

Closing since there's no response, and also seems pretty apparent that docker is not started.

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

4 participants