Error\
$ sudo yum install -y docker-ce
--> Finished Dependency Resolution
Error: Package: 3:docker-ce-19.03.5-3.el7.x86_64 (docker-ce-stable)
Requires: container-selinux >= 2:2.74
Installed: 2:container-selinux-2.9-4.el7.noarch (@/container-selinux-2.9-4.el7.noarch)
container-selinux = 2:2.9-4.el7
Error: Package: containerd.io-1.2.10-3.2.el7.x86_64 (docker-ce-stable)
Requires: container-selinux >= 2:2.74
Installed: 2:container-selinux-2.9-4.el7.noarch (@/container-selinux-2.9-4.el7.noarch)
container-selinux = 2:2.9-4.el7
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Solution
- Go to http://mirror.centos.org/centos/7/extras/x86_64/Packages/
- Find the latest version for container-selinux i.e. container-selinux-2.21-1.el7.noarch.rpm
- Run the following command on your terminal: $ sudo yum install -y yum install http://mirror.centos.org/centos/7/extras/x86_64/Packages/container-selinux-2.107-1.el7_6.noarch.rpm
- yum install docker-ce
Docker Basics Tutorial |(Part 1 out 4) Aug 2020| – By DevOpsSchool
Docker Compose Tutorial | (Part -2 Out 4) Aug 2020 | – By DevOpsSchool
Docker Image Advance Networks Security ( Part 3 Out 4 ) | Aug 2020 | – By DevOpsSchool
Docker Image Advance Networks Security ( Part 4 Out 4 ) | Aug 2020 | – By DevOpsSchool
Latest posts by Rajesh Kumar (see all)
- Top 10 Website Development Companies in Ludhiana - December 5, 2024
- Exploring Career Options: Why Trade Schools Are a Great Alternative - December 5, 2024
- Announcing the Launch of DevOpsSchool.jp Services in Japan: Transforming IT Operations in Tokyo and Beyond - December 3, 2024