如果第二步安装失败可以使用下面命令进行安装
yum install https://get.docker.com/rpm/1.7.1/centos-6/RPMS/x86_64/docker-engine-1.7.1-1.el6.x86_64.rpm
CentOS 6.8安装Docker步骤
原文:https://www.cnblogs.com/lovetl/p/11556044.html