首先安装epel https://fedoraproject.org/wiki/EPEL#How_can_I_use_these_extra_packages.3F
然后直接yum安装即可
yum -y install docker-io