错误描述
[root@localhost run]# docker ps
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
运行环境
[root@localhost run]# uname -a
Linux localhost.localdomain 3.10.0-327.el7.x86_64 #1 SMP Thu Nov 19 22:10:57 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
`[root@localhost run]# cat /etc/centos-release
CentOS Linux release 7.2.1511 (Core)
查看运行日志
根据提示找到关键信息:
修复方式:
- 关闭防火墙
- 重新配置,关闭selinux
[root@localhost run]# vi /etc/sysconfig/docker
感谢这位同志的分享docker启动报错…