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

前端 未结 4 696
囚心锁ツ
囚心锁ツ 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:40

    This is because the docker service is not automatically started after an install.

    You can start the docker service in Ubuntu and its derivatives (looking at you Linux Mint) by typing:

    sudo service docker start
    

    To check that docker started, this file should exist:

    ls -la /var/run/docker.sock
    

提交回复
热议问题