0.准备

RedHatEL6.5

Linux docker 2.6.32-431.el6.x86_64 #1 SMP Sun Nov 10 22:19:54 EST 2013 x86_64 x86_64 x86_64 GNU/Linux


软件包:

docker-io-1.7.1-2.el6.x86_64.rpm

lua-alt-getopt-0.7.0-1.el6.noarch.rpm

lua-filesystem-1.4.2-1.el6.x86_64.rpm

lua-lxc-1.0.9-1.el6.x86_64.rpm

lxc-1.0.9-1.el6.x86_64.rpm

lxc-libs-1.0.9-1.el6.x86_64.rpm


用户:root


1、安装:

把软件包全部放在一个目录下

rmp -ivh *


yum update#这部如果不做,在启动的时候会报错。


service docker status

service docker start

chkconfig docker on