一、首先关闭selinux:
1、setenforce 0
2、sed-i '/^SELINUX=/c\SELINUX=disabled'/etc/selinux/config
二、在Fedora EPEL源中已经提供了docker-io包,下载安装epel:
1、rpm -ivhhttp://mirrors.sohu.com/fedora-epel/6/x86_64/epel-release-6-8.noarch.rpm
2、sed-i 's/^mirrorlist=https/mirrorlist=http/'/etc/yum.repos.d/epel.repo
三、yum安装docker-io:
1、yum -y installdocker-io
四、启动docker
1、service docker start