Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Docker TLS Error on Ubuntu

Tags:

docker

I am trying to learn about Docker in ubuntu 15.04.

When i give any command using docker like "docker info", it arise following error:

FATA[0000] Post http:///var/run/docker.sock/v1.17/containers/create: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS?

I don't understand what does it mean.

Somebody help me to fix this error.Thanks

like image 328
rishi kant Avatar asked Jun 27 '26 05:06

rishi kant


1 Answers

If you are using boot2docker and its running, this should solve your problem

eval "$(boot2docker shellinit)"

like image 103
Anup Ash Avatar answered Jun 30 '26 09:06

Anup Ash



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!