1.卸载旧版本docker
systemctl stop docker
yum remove -y docker \
docker-client \
docker-client-latest \
docker-common \
docker-latest \
docker-latest-logrotate \
docker-logrotate \
docker-selinux \
docker-engine-selinux \
docker-engine
yum remove -y lib64seccomp2-2.3.2-1.mga6.x86_64
2. 下载所需要的rpm包
执行 rpm 安装命令:rpm -ivh *
3. 安装完成后启动容器: systemctl start docker