一.升级内核
[root@iZ2893wjzgyZ ~]# rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
[root@iZ2893wjzgyZ ~]# rpm -ivh http://www.elrepo.org/elrepo-release-6-5.el6.elrepo.noarch.rpm
[root@iZ2893wjzgyZ ~]# yum --enablerepo=elrepo-kernel install kernel-lt -y
[root@iZ2893wjzgyZ ~]# vim /etc/grub.conf
default= [root@iZ2893wjzgyZ ~]# reboot
[root@iZ2893wjzgyZ ~]# uname -a
Linux iZ2893wjzgyZ 3.10.-.el6.elrepo.x86_64 # SMP Sat Jan :: EST x86_64 x86_64 x86_64 GNU/Linux
二.安装docker
[root@iZ2893wjzgyZ ~]# yum install http://mirrors.yun-idc.com/epel/6/x86_64/epel-release-6-8.noarch.rpm
[root@iZ2893wjzgyZ ~]# yum install docker-io
三.启动docker
[root@iZ2893wjzgyZ ~]# service docker start
Starting cgconfig service: [ OK ]
Starting docker: [ OK ]