Docker Community Forums

Share and learn in the Docker community.

I can't login docker hub by command

(Shiratsu) #1

I am starting to use docker.
So,i am proceeding to learn docker with following docker document.

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


(Shiratsu) #2

if i ran command without sudo,error was changed.

% docker login
Username: xxxx
FATA[0033] Error response from daemon: Server Error: Post dial tcp: lookup on read udp i/o timeout

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

(Phuongnl) #3

I have same issuse, pls help.

(Shiratsu) #4

I have resolved.

I also asked on github issue.

I was taught following link.


In my case,i could login after restarting boot2docker.

I hope this github issue will be helpful for phuongnl.

Thank you.