Couldn't connect to Docker daemon at http+docker://localunixsocket - is it running?-LMLPHP

解决方法:

1.进入启动文件目录

2.将用户加入到docker 组

  sudo gpasswd -a ${USER}  docker

  Couldn't connect to Docker daemon at http+docker://localunixsocket - is it running?-LMLPHP

3.使用root用户

  sudo su

4. 切换当前用户

  su ${USER}

5,.重新启动docker镜像

  docker-compose up -d

  

05-24 06:19