centos7 docker 安装报错:Requires: container-selinux >= 2:2.74

查了各种帖子,装各种依赖都不行,后来查到这么一个命令可以了,记录一下:

yum install --setopt=obsoletes=0 \
   docker-ce-17.03.2.ce-1.el7.centos.x86_64 \
   docker-ce-selinux-17.03.2.ce-1.el7.centos.noarch # on a new system with yum repo defined, forcing older version and ignoring obsoletes introduced by 17.06.0

参考解决方案帖子传送门

你可能感兴趣的:(centos7 docker 安装报错:Requires: container-selinux >= 2:2.74)