使用官方安装脚本
curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
也可以使用国内 daocloud 一键安装
curl -sSL https://get.daocloud.io/docker | sh