docker 启动报错解决

今天用docker 启动报错
Cannot connect to the Docker daemon. Is ‘docker -d’ running on this host?

意思是docker -d 查看

[root@localhost ~]# docker -d
WARN[0000] You are running linux kernel version 2.6.32-573.22.1.el6.x86_64, which might be unstable running docker. Please upgrade your kernel to 3.10.0.
INFO[0000] Listening for HTTP on unix (/var/run/docker.sock)
ERRO[0000] [graphdriver] prior storage driver “aufs” failed: driver not supported
FATA[0000] Error starting daemon: error initializing graphdriver: driver not supported意思是内核版本过低

解决方法:

编辑/etc/grub.conf 启动菜单 查看3.0内核位置我的位置为1改为1然后重启就Ok了

重启之后uname -r 内核版本就是3.0了

然后启动docker 就不会报错了 docker报错原因很多这只是其中一种。看清楚是不是自己遇到的问题(づ ̄3 ̄)づ╭❤~

禁止转载:by:xiaoyin

QQ:1500698928

 

欢迎留言