Ad

ethan
asked Aug 25 2020
Answer
If you see the following error while installing Docker-CE on RHEL7.6, you can work around it by using skip-broken.

colbyadkins
asked Aug 21 2023
edited Aug 24 2023
To fix "container-selinux >= 2:2.74" issue, we need to install container-selinux package using below command
[root@linuxhelp ~]#yum install http://mirror.centos.org/centos/7/extras/x86_64/Packages/container-selinux-2.107-1.el7_6.noarch.rpm
linuxhelp
asked Aug 25 2020
edited Aug 25 2020
It's a good idea!
leo
asked Nov 05 2024
edited Nov 06 2024
Having trouble with Docker-CE on RHEL7.6? You might be hitting the "container-selinux >= 2:2.74" snag. Try updating your container-selinux version or checking for compatibility with your Docker-CE installation. Need more help?
JovanyKutch
asked Nov 07 2024
edited Nov 08 2024
If you are getting the following error while installing Docker-CE on RHEL7.6 you could try using skip-broken to work around the problem
ayesy
asked May 24 2023
edited Aug 24 2023
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