ERROR: Couldn't connect to Docker daemon at http+docker://localunixsocket - is it running?
程序员文章站
2022-03-12 12:34:48
...
通过docker安装superset过程中,按照文档中说的步骤:
拉取文件
切换到目标文件夹
然后通过docker-compose 移除停止的superset 然后执行docker-init.sh。命令如下:
docker-compose run --rm superset ./docker-init.sh
报错信息如下:
ERROR: Couldn't connect to Docker daemon at http+docker://localunixsocket - is it running?
If it's at a non-standard location, specify the URL with the DOCKER_HOST environment variable.
解决办法很简单,在命令前加上sudo ,给一个超级权限即可。
sudo docker-compose run --rm superset ./docker-init.sh
推荐阅读
-
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