说明:为了安装Docker,当前虚拟机不满足要求,版本如下:
[root@localhost116 ~]# uname -r 2.6.32-573.el6.x86_64 [root@localhost116 ~]# cat /etc/issue Red Hat Enterprise Linux Server release 6.7 (Santiago) Kernel on an m [root@localhost116 ~]#
安装docker,先要升级linux内核到3.10。步骤如下:
1、下载安装包:kernel-ml-aufs-3.10.5-3.el6.x86_64、kernel-ml-aufs-devel-3.10.5-3.el6.x86_64 。
地址:http://www.hop5.in/yum/el6/repoview/system_environment.kernel.group.html
亲测,可用,不收费,不需要积分(就是下载有点慢~~)!!
2、安装
rpm -ivh kernel-ml-aufs-3.10.5-3.el6.x86_64.rpm rpm -ivh kernel-ml-aufs-devel-3.10.5-3.el6.x86_64.rpm
3、修改配置文件:(将default的值修改为0)
4、重启&查询:
reboot #重启命令 [root@localhost116 kernel]# reboot Broadcast message from root@localhost116 (/dev/pts/0) at 10:00 ... The system is going down for reboot NOW!
[root@localhost116 ~]# uname -r 3.10.5-3.el6.x86_64 [root@localhost116 ~]# grep aufs /proc/filesystems nodev aufs
其他文章推荐:
https://blog.csdn.net/a33130317/article/details/81124432(ElRepo 安装包模式)
https://www.cnblogs.com/momoyan/p/9130461.html(kernel 安装包模式)