Requires: Container-Selinux >= 2.9 Docker SOLVED-DecodingDevOps

Requires: Container-Selinux >= 2.9 Docker-SOLVED-DecodingDevOps

Package docker-ce.x86_64 3:18.09.4-3.el7 will be installed
Processing Dependency: container-selinux >= 2.9 for package: 3:docker-ce-18.09.4-3.el7.x86_64
Finished Dependency Resolution
Error: Package: 3:docker-ce-18.09.4-3.el7.x86_64 (docker-ce-stable)
Requires: container-selinux >= 2.9 docker
You could try using –skip-broken to work around the problem
You could try running: rpm -Va –nofiles –nodigest

when you are trying to install docker ce on rhel 7 you may get this errors

Solution:

yum install http://ftp.riken.jp/Linux/cern/centos/7/extras/x86_64/Packages/container-selinux-2.10-2.el7.noarch.rpm

install container selinux greater than 2.9 by using above command then this error will be resolved.

OR

got to this websites

  • https://centos.pkgs.org/7/centos-extras-x86_64/   or
  • http://mirror.centos.org/centos/7/extras/x86_64/Packages

find container selinux version greater than 2.9, download and install it on your server then this error will be resolved.

Ex:

yum install http://mirror.centos.org/centos/7/extras/x86_64/Packages/container-selinux-2.107-3.el7.noarch.rpm

 

  • Requires: Container-Selinux >= 2.9 Dcoker rhel
  • docker Requires: Container-Selinux >= 2.9 rhel
  • RContainer-Selinux >= 2.9 Dcoker  rhel

Leave a Reply

Your email address will not be published. Required fields are marked *