rpm -i http://ftp.riken.jp/Linux/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm
yum install --downloadonly --downloaddir=/tmp/rpm docker-io
cd /tmp/rpm
rpm -ivh lxc-libs-1.0.9-1.el6.x86_64.rpm
rpm -ivh lua-alt-getopt-0.7.0-1.el6.noarch.rpm
rpm -ivh lua-filesystem-1.4.2-1.el6.x86_64.rpm
rpm -ivh lua-lxc-1.0.9-1.el6.x86_64.rpm
rpm -ivh lxc-1.0.9-1.el6.x86_64.rpm
rpm -ivh docker-io-1.7.1-2.el6.x86_64.rpm
如果docker -d 以守护进程方式启动docker
vi /etc/fstab#在结尾添加
none /sys/fs/cgroup cgroup defaults 0 0
mount -a
如果service docker start 启动docker那么不要执行上一步
查看docker进程:ps -ef |grep docker