centos docker 升级至最新稳定版--摘自官网
亲测好使
删除老版本的docker
sudo yum remove docker \
docker-client \
docker-client-latest \
docker-common \
docker-latest \
docker-latest-logrotate \
docker-logrotate \
docker-engine
脚本安装
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh