Docker-Compose can't connect to Docker Daemon

后端 未结 18 1149
死守一世寂寞
死守一世寂寞 2020-12-22 20:25

I am getting an error message saying I can\'t connect to the docker daemon. I have looked into other people\'s answers who have had similar issues but it hasn\'t helped. I

18条回答
  •  难免孤独
    2020-12-22 20:50

    One way to resolve this would be to first add your user to the docker group by running the following

    sudo usermod -aG docker $USER
    

    IMPORTANT: Remember to log out of your system (not just your terminal) and back in for this to take effect!

提交回复
热议问题