Link to home
Start Free TrialLog in
Avatar of Seydina Fall
Seydina Fall

asked on

Missing libraries when installing Docker

Hello,

I'm trying to install Docker on Linux RedHat RHEL 7.2 server and facing a lot of issues like absence of libraries. Also I'm having a lot of issues with the SE Linux.

What are the prerequisites for this ? which kernel? You can see the error below:


root@su14692# sudo yum install docker-ce docker-ce-cli containerd.io
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Repository docker-ce-stable is listed more than once in the configuration
Repository docker-ce-stable-debuginfo is listed more than once in the configuration
Repository docker-ce-stable-source is listed more than once in the configuration
Repository docker-ce-edge is listed more than once in the configuration
Repository docker-ce-edge-debuginfo is listed more than once in the configuration
Repository docker-ce-edge-source is listed more than once in the configuration
Repository docker-ce-test is listed more than once in the configuration
Repository docker-ce-test-debuginfo is listed more than once in the configuration
Repository docker-ce-test-source is listed more than once in the configuration
Repository docker-ce-nightly is listed more than once in the configuration
Repository docker-ce-nightly-debuginfo is listed more than once in the configuration
Repository docker-ce-nightly-source is listed more than once in the configuration
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
sfr-ste-middleware-rhel                                                                                                                | 3.6 kB  00:00:00
sfr-stec-redhat-7.2                                                                                                                    | 4.1 kB  00:00:00
sfr-stec-redhat-7.2-optional                                                                                                           | 3.6 kB  00:00:00
(1/4): docker-ce-nightly/x86_64/primary_db                                                                                             | 161 kB  00:00:00
(2/4): docker-ce-nightly/x86_64/updateinfo                                                                                             |   55 B  00:00:00
(3/4): docker-ce-test/x86_64/primary_db                                                                                                |  94 kB  00:00:01
(4/4): docker-ce-test/x86_64/updateinfo                                                                                                |   55 B  00:00:01
Package 1:docker-ce-cli-19.03.0-3.el7.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package containerd.io.x86_64 0:1.2.6-3.3.el7 will be installed
--> Processing Dependency: container-selinux >= 2:2.74 for package: containerd.io-1.2.6-3.3.el7.x86_64
---> Package docker-ce.x86_64 3:19.03.0-3.el7 will be installed
--> Processing Dependency: container-selinux >= 2:2.74 for package: 3:docker-ce-19.03.0-3.el7.x86_64
--> Finished Dependency Resolution
Error: Package: containerd.io-1.2.6-3.3.el7.x86_64 (docker-ce-nightly)
           Requires: container-selinux >= 2:2.74
Error: Package: 3:docker-ce-19.03.0-3.el7.x86_64 (docker-ce-stable)
           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
[ /root ]

Open in new window

Avatar of Scott Silva
Scott Silva
Flag of United States of America image

It looks like you have an incompatible yum repository added to the system, or the fact that it isn't registered, it can't pull the updated se-linux libraries.

If you want RedHat like servers without paying for support, CentOS is a bit better fit.
ASKER CERTIFIED SOLUTION
Avatar of David Favor
David Favor
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Likely good to update this question, to determine if problem has been solved or still exists.
Avatar of Seydina Fall
Seydina Fall

ASKER

Hi,

Thanks to everybody

Regards
You're welcome!

Good luck!