How to fix "container-selinux >= 2:2.74" issue while Installing Docker-CE on RHEL7.6
Getting the following error while installing Docker-CE on RHEL7.6 how can fix this?
[root@linuxhelp ~]# yum install docker-ce docker-ce-cli containerd.io
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
InstallMedia | 4.3 kB 00:00:00
docker-ce-nightly | 3.5 kB 00:00:00
docker-ce-stable | 3.5 kB 00:00:00
docker-ce-test | 3.5 kB 00:00:00
rpmfusion-free-updates | 3.7 kB 00:00:00
rpmfusion-nonfree-updates | 3.7 kB 00:00:00
(1/5): rpmfusion-nonfree-updates/x86_64/primary_db | 48 kB 00:00:00
(2/5): docker-ce-test/x86_64/updateinfo | 55 B 00:00:00
(3/5): docker-ce-nightly/x86_64/updateinfo | 55 B 00:00:00
(4/5): docker-ce-nightly/x86_64/primary_db | 166 kB 00:00:00
(5/5): docker-ce-test/x86_64/primary_db | 118 kB 00:00:00
epel/x86_64/primary_db | 6.9 MB 00:00:22
Resolving Dependencies
--> Running transaction check
---> Package containerd.io.x86_64 0:1.2.13-3.2.el7 will be installed
--> Processing Dependency: container-selinux >= 2:2.74 for package: containerd.io-1.2.13-3.2.el7.x86_64
---> Package docker-ce.x86_64 3:19.03.13-1.2.beta2.el7 will be installed
--> Processing Dependency: container-selinux >= 2:2.74 for package: 3:docker-ce-19.03.13-1.2.beta2.el7.x86_64
---> Package docker-ce-cli.x86_64 1:19.03.13-1.2.beta2.el7 will be installed
--> Finished Dependency Resolution
Error: Package: 3:docker-ce-19.03.13-1.2.beta2.el7.x86_64 (docker-ce-test)
Requires: container-selinux >= 2:2.74
Error: Package: containerd.io-1.2.13-3.2.el7.x86_64 (docker-ce-nightly)
Requires: container-selinux >= 2:2.74
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest