Upgrading Docker To Current Version on CentOS

I get a Kernel Panic after I installed the device-mapper on RHEL 6.5 and tried to mount a volume in a container (manually or using Fig)

docker/docker/issues/9856

After I updated from Docker 1.2.0 to Docker 1.3.3 or Docker 1.4.0, I couldn’t start a container with a volume… Here’s the same error as others:

[b920e37b] +job serveapi(unix:///var/run/docker.sock)
[info] WARNING: You are running linux kernel version 2.6.32-431.1.2.el6.x86_64, which might be unstable running docker. Please upgrade your kernel to 3.8.0.
/usr/bin/docker: relocation error: /usr/bin/docker: symbol dm_task_get_info_with_deferred_remove, version Base not defined in file libdevmapper.so.1.02 with link time reference

I followed the steps described at stackoverflow.com/questions/27216473/docker-1-3-fails-to-start-on-rhel6-5 thread:

$ cd /etc/yum.repos.d 
$ wget public-yum.oracle.com/public-yum-ol6.repo 
$ wget public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6 -O /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle 
$ yum update device-mapper

The version installed is the latest one with the updates…

[pppdc9prd6dq mdesales]# rpm -q device-mapper
device-mapper-1.02.90-2.el6_6.1.x86_64

Has anyone experienced that? As described by the Docker issue, the Kernel panics and I can’t use the host…