/var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS?

前端 未结 4 697
囚心锁ツ
囚心锁ツ 2020-12-14 18:19

I am very new to the docker when try to run docker info it gives me following error.

$ docker info
FATA[0000] Get http:///var/run/docker.sock/v1.17/info: dia         


        
4条回答
  •  遥遥无期
    2020-12-14 18:37

    I had the same problem. I needed add my user to docker group (on /etc/group or uses sudo gpasswd -a user docker - and restarting the session.

    OS: Ubuntu 14.04.2 LTS 3.13.0-57-generic x64

提交回复
热议问题