出错现象
解决
由于Container-selinux的版本过低导致不兼容,需要升级重新安装Container-selinux
[root@server3 ~]# wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
[root@server3 ~]# yum install epel-release -y
[root@server3 ~]# yum install container-selinux -y
然后就可以正常安装了
[root@server3 ~]# yum install -y docker-ce