Requires Container Selinux 2.9 Docker

Requires: Container-Selinux >= 2.9 Docker-SOLVED

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:

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: