解决 docker中 error:Couldn't connect to Docker daemon at http+docker://localunixsocket - is it running?
程序员文章站
2022-03-12 12:40:48
...
安装完docker后执行:
[email protected]1:/vulhub/flask/ssti$ docker-compose up -d
显示
ERROR: Couldn't connect to Docker daemon at
http+docker://localunixsocket - is it running?
正确的是将当前用户加入docker组
[email protected]:/vulhub/nginx/insecure-configuration$ sudo usermod -G docker toor
然后切换用户,再次切换为回来,然后执行docker-compose up -d
上一篇: Python实现神经网络(零基础篇)
下一篇: K8S常用命令
推荐阅读
-
Couldn't connect to Docker daemon at http+docker://localunixsocket - is it running?
-
Couldn't connect to Docker daemon at http+docker://localunixsocket - is it running?
-
ERROR: Couldn't connect to Docker daemon at http+docker://localhost - is it running?
-
ERROR: Couldn‘t connect to Docker daemon at http+docker://localhost - is it running?
-
解决ERROR: Couldn't connect to Docker daemon at http://127.0.0.1:4243 - is it running
-
解决 docker中 error:Couldn't connect to Docker daemon at http+docker://localunixsocket - is it running?
-
ERROR: Couldn't connect to Docker daemon at http+docker://localunixsocket - is it running?
-
ERROR: Couldn't connect to Docker daemon at http+docker://localhost - is it running?
-
ERROR: Couldn't connect to Docker daemon at http+docker://localunixsocket - is it running?
-
解决ERROR: Couldn't connect to Docker daemon at http://127.0.0.1:4243 - is it running