Docker Community Forums

Share and learn in the Docker community.

I can't login docker hub by command


(Shiratsu) #1

Hi,there.
I am starting to use docker.
So,i am proceeding to learn docker with following docker document.
http://docs.docker.com/userguide/dockerhub/

Then,i tryed to login docker hub by command.
I already create docker hub account.But I can’t login docker hub by command.
If i try to login by command,this error produce.

% sudo docker login
Username: xxxxx
Password:
Email: xxxxxxxxxx@yahoo.co.jp
FATA[0016] 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?

How do i do?

Best regards.

Shunsuke


(Shiratsu) #2

if i ran command without sudo,error was changed.

% docker login
Username: xxxx
Password:
Email: xxxxxxx@yahoo.co.jp
FATA[0033] Error response from daemon: Server Error: Post https://index.docker.io/v1/users/: dial tcp: lookup index.docker.io on 203.141.128.33:53: read udp 203.141.128.33:53: i/o timeout

i seem i could not access.
How do i do?


(Phuongnl) #3

I have same issuse, pls help.


(Shiratsu) #4

Hi,phuongnl.
I have resolved.

I also asked on github issue.

I was taught following link.

'https://github.com/docker/docker/issues/11490#issuecomment-83336706'

In my case,i could login after restarting boot2docker.

I hope this github issue will be helpful for phuongnl.

Thank you.