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

后端 未结 11 1009
轻奢々
轻奢々 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:36

    If you're using CentOS 7, and you've installed Docker via yum, don't forget to run:

    $ sudo systemctl start docker
    $ sudo systemctl enable docker
    

    This will start the server, as well as re-start it automatically on boot.

提交回复
热议问题