http://www.cnblogs.com/zfzf1/p/7689614.html
sed -i ‘1a nameserver 8.8.8.8‘ /etc/resolv.conf
yum -y install docker
启动docker并设置为开机自启
[root@localhost ~]# systemctl start docker
[root@localhost ~]# systemctl enable docker
测试 docker info
docker run hello-world
docker images