1.docker升级:centos7下安装社区级的docker叫docker-ce
主要参考官方文档:https://docs.docker.com/engine/installation/linux/docker-ce/centos/#install-from-a-package
#yum remove docker docker-common docker-selinux docker-engine ===/卸载docker及其依赖关系
#yum install -y yum-utils device-mapper-persistent-data lvm2
#yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
#yum-config-manager --enable docker-ce-test
#yum install -y docker-ce
#systemctl start docker
#systemctl enable docker
#systemctl status docker
#docker -v