docker error: /var/run/docker.sock: no such file or directory

后端 未结 11 1023
轻奢々
轻奢々 2020-12-07 14:52

I am new to docker. I have a shell script that loads data into impala and I want a docker file that runs builds an image and run the container. I am on mac, installed boot2d

11条回答
  •  臣服心动
    2020-12-07 15:18

    I also got this error. Though, I did not use boot2docker but just installed "plain" docker on Ubuntu (see https://docs.docker.com/installation/ubuntulinux/).

    I got the error ("dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS?") because the docker daemon was not running, yet.

    On Ubuntu, you need to start the service:

    sudo service docker start
    

    See also http://blog.arungupta.me/resolve-dial-unix-docker-sock-error-techtip64

提交回复
热议问题