Docker安装
#设置镜像仓库 阿里云
#更新
#安装docker-ce 社区版
#启动docker
#开机自启动
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-
7.repo
yum clean all
yum makecache
yum install docker -y
systemctl start docker
systemctl enable docker
yum-config-manager --add-repo http://mirrors.aliyun.com/dockerce/linux/centos/docker-ce.repo
yum makecache fast
yum install docker-ce docker-ce-cli containerd.io -y
systemctl start docker
systemctl enabled docker****