这个错误意味着 Docker 守护进程没有启动或者没有运行,你需要检查 Docker daemon 是否正在运行。可以使用 systemctl 命令检查 Docker 服务是否已启动,如果未启动,请使用以下命令启动它:

sudo systemctl start docker

如果您没有权限运行此命令,请使用 sudo 或联系系统管理员。

Docker 错误: Cannot connect to the Docker daemon at unix:///var/run/docker.sock

原文地址: https://www.cveoy.top/t/topic/oOUP 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录