1.安装docker时报错如标题Error: Package: containerd.io-1.6.28-3.1.el7.x86_64 (docker-ce-stable) Requires: container-selinux >= 2:2.74
2.报错原因为container-selinux版本低
3.解决方案
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
yum install epel-release
yum makecache
yum install container-selinux