天天看点

Cannot connect to the Docker daemon. Is the docker daemon running on this host?

在centOS系统安装好了docker,想部署一个项目,但是发现运行docker info 时报错

错误信息如下

使用命令查看docker是否运行

结果有docker 进程。

可能没有开启docker服务。

使用命令开启docker 服务即可

再次运行docker info 信息显示正常,Over.