Just upgraded from 1.5 to 1.7 on CentOS6.6 / 2.6.32-504.23.4.el6.x86_64 per the Docker install guide. Able to start, but errors abound, starting with “Cannot connect to the Docker daemon. Is ‘docker -d’ running on this host?”
root@host [1276 11:41:02 /]# service docker start
Starting docker: [ OK ]
root@host [1277 11:41:23 /]# docker images
Cannot connect to the Docker daemon. Is ‘docker -d’ running on this host?
root@host [1278 11:41:33 /]# service docker status
docker dead but subsys locked
root@host [1279 11:46:45 /]# service docker start
Starting docker: [ OK ]
root@host [1280 11:47:31 /]# service docker -d
Usage: /etc/init.d/docker {start|stop|status|restart|condrestart|try-restart|reload|force-reload}
root@host [1281 11:49:34 /]# docker -d
WARN[0000] You are running linux kernel version 2.6.32-504.23.4.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] Udev sync is not supported. This will lead to unexpected behavior, data loss and errors. For more information, see https://docs.docker.com/reference/commandline/cli/#daemon-storage-driver-option
ERRO[0000] [graphdriver] prior storage driver “devicemapper” failed: driver not supported
FATA[0000] Error starting daemon: error initializing graphdriver: driver not supported
root@host [1282 11:49:41 /]# docker -v
Docker version 1.7.0, build 0baf609
It seems a device-mapper issue, but no update found…
root@host [1301 12:48:31 /]# yum update device-mapper
Loaded plugins: changelog, downloadonly, fastestmirror, security
Setting up Update Process
Loading mirror speeds from cached hostfile
- epel: mirror.steadfast.net
- rpmforge: mirror.nexcess.net
- rpmforge-extras: mirror.nexcess.net
No Packages marked for Update
root@host [1302 12:48:59 /]# rpm -qa device-mapper
device-mapper-1.02.90-2.el6_6.3.x86_64
What is causing the issue?