error package docker-ce requires container-selinux = 2.9 centos 7

Resolved with installing container-selinux-2.9 dependency with following command:

sudo yum install ftp://bo.mirror.garr.it/1/slc/centos/7.1.1503/extras/x86_64/Packages/container-selinux-2.9-4.el7.noarch.rpm

Use below link to install container-selinux from a trust able source

sudo yum install -y http://mirror.centos.org/centos/7/extras/x86_64/Packages/container-selinux-2.55-1.el7.noarch.rpm

Steps to install Docker-CE on RHEL 7.5

https://github.com/dineshsood/dockers/wiki


This docker-ce version worked for me:

   sudo yum -y install docker-ce-cli.x86_64 1:19.03.5-3.el7

Best of luck!

Tags:

Docker