Docker CE or EE with the official RHEL 7

Latest response

Very confusing. Some say it is possible, but no one tells you how and where to find step by step how to do it.

Is it possible to use Docker CE or EE with the official RHEL 7 version? Can I use my developer subscription? How do I do?

Responses

Hi Robson,

See What is the difference between the docker, docker-latest, and the upstream packages?

In short, you can use your developer subscription to install and run Docker as provided by Red Hat (see Getting Docker in RHEL 7 for instructions).

You can also install either Docker EE (which you need to pay for to Docker, Inc.) or Docker CE if you chose, but there's no need to.

Docker provided by Redhat does not provide all the latest functionality such as using ARG before FROM which is why you would instead use Docker CE.

https://linuxconfig.org/how-to-install-docker-in-rhel-8

I am using RHEL 7.4 and almost giving up on docker installation on RHEL. Seems like selinux has too many dependencies and you can never install it, come what may. I subscribed for a RHEL developer subscription and registered the image, still selinux has so many dependencies, it makes you feel RHEL is no fit for dockerization. Please find the number of dependencies and anyone in their sane mind, will not sit and install so many dependencies. Even if I did, some rpm's are not available to install. I have enabled all related rpm's using the below commnds

subscription-manager repos --enable=rhel-7-server-rpms

subscription-manager repos --enable=rhel-7-server-extras-rpms subscription-manager repos --enable=rhel-7-server-optional-rpms

[root@JDE920WEB2 azureadmin]# yum install -y docker device-mapper-libs device-mapper-event-libs Loaded plugins: langpacks, product-id, search-disabled-repos rhel-7-server-extras-rpms | 3.4 kB 00:00:00 rhel-7-server-optional-rpms | 3.2 kB 00:00:00 rhel-7-server-rpms | 3.4 kB 00:00:00 (1/9): rhel-7-server-extras-rpms/x86_64/group | 124 B 00:00:00 (2/9): rhel-7-server-extras-rpms/x86_64/updateinfo | 218 kB 00:00:00 (3/9): rhel-7-server-extras-rpms/x86_64/primary_db | 589 kB 00:00:00 (4/9): rhel-7-server-optional-rpms/7.4/x86_64/updateinfo | 1.7 MB 00:00:00 (5/9): rhel-7-server-optional-rpms/7.4/x86_64/group | 22 kB 00:00:01 (6/9): rhel-7-server-optional-rpms/7.4/x86_64/primary_db | 5.9 MB 00:00:00 (7/9): rhel-7-server-rpms/7.4/x86_64/group | 641 kB 00:00:00 (8/9): rhel-7-server-rpms/7.4/x86_64/updateinfo | 2.4 MB 00:00:00 (9/9): rhel-7-server-rpms/7.4/x86_64/primary_db | 42 MB 00:00:01 Package 7:device-mapper-libs-1.02.140-8.el7.x86_64 already installed and latest version Package 7:device-mapper-event-libs-1.02.140-8.el7.x86_64 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package docker.x86_64 2:1.13.1-109.gitcccb291.el7_7 will be installed --> Processing Dependency: docker-client = 2:1.13.1-109.gitcccb291.el7_7 for package: 2:docker-1.13.1-109.gitcccb291.el7_7.x86_64 --> Processing Dependency: docker-common = 2:1.13.1-109.gitcccb291.el7_7 for package: 2:docker-1.13.1-109.gitcccb291.el7_7.x86_64 --> Running transaction check ---> Package docker-client.x86_64 2:1.13.1-109.gitcccb291.el7_7 will be installed ---> Package docker-common.x86_64 2:1.13.1-109.gitcccb291.el7_7 will be installed --> Processing Dependency: docker-rhel-push-plugin = 2:1.13.1-109.gitcccb291.el7_7 for package: 2:docker-common-1.13.1-109.gitcccb291.el7_7.x86_64 --> Processing Dependency: container-selinux >= 2:2.51-1 for package: 2:docker-common-1.13.1-109.gitcccb291.el7_7.x86_64 --> Processing Dependency: container-storage-setup >= 0.9.0-1 for package: 2:docker-common-1.13.1-109.gitcccb291.el7_7.x86_64 --> Processing Dependency: oci-register-machine >= 1:0-5.13 for package: 2:docker-common-1.13.1-109.gitcccb291.el7_7.x86_64 --> Processing Dependency: oci-systemd-hook >= 1:0.1.4-9 for package: 2:docker-common-1.13.1-109.gitcccb291.el7_7.x86_64 --> Processing Dependency: oci-umount >= 2:2.3.3-3 for package: 2:docker-common-1.13.1-109.gitcccb291.el7_7.x86_64 --> Processing Dependency: skopeo-containers >= 1:0.1.26-2 for package: 2:docker-common-1.13.1-109.gitcccb291.el7_7.x86_64 --> Processing Dependency: atomic-registries for package: 2:docker-common-1.13.1-109.gitcccb291.el7_7.x86_64 --> Running transaction check ---> Package atomic-registries.x86_64 1:1.22.1-29.gitb507039.el7 will be installed --> Processing Dependency: python-pytoml for package: 1:atomic-registries-1.22.1-29.gitb507039.el7.x86_64 --> Processing Dependency: python-yaml for package: 1:atomic-registries-1.22.1-29.gitb507039.el7.x86_64 ---> Package container-selinux.noarch 2:2.107-3.el7 will be installed --> Processing Dependency: selinux-policy >= 3.13.1-216.el7 for package: 2:container-selinux-2.107-3.el7.noarch --> Processing Dependency: selinux-policy-base >= 3.13.1-216.el7 for package: 2:container-selinux-2.107-3.el7.noarch --> Processing Dependency: selinux-policy-targeted >= 3.13.1-216.el7 for package: 2:container-selinux-2.107-3.el7.noarch ---> Package container-storage-setup.noarch 0:0.11.0-2.git5eaf76c.el7 will be installed ---> Package containers-common.x86_64 1:0.1.37-3.el7 will be installed ---> Package docker-rhel-push-plugin.x86_64 2:1.13.1-109.gitcccb291.el7_7 will be installed ---> Package oci-register-machine.x86_64 1:0-6.git2b44233.el7 will be installed ---> Package oci-systemd-hook.x86_64 1:0.2.0-1.git05e6923.el7_6 will be installed ---> Package oci-umount.x86_64 2:2.5-3.el7 will be installed --> Running transaction check ---> Package PyYAML.x86_64 0:3.10-11.el7 will be installed --> Processing Dependency: libyaml-0.so.2()(64bit) for package: PyYAML-3.10-11.el7.x86_64 ---> Package container-selinux.noarch 2:2.107-3.el7 will be installed --> Processing Dependency: selinux-policy >= 3.13.1-216.el7 for package: 2:container-selinux-2.107-3.el7.noarch --> Processing Dependency: selinux-policy-base >= 3.13.1-216.el7 for package: 2:container-selinux-2.107-3.el7.noarch --> Processing Dependency: selinux-policy-targeted >= 3.13.1-216.el7 for package: 2:container-selinux-2.107-3.el7.noarch ---> Package python-pytoml.noarch 0:0.1.14-1.git7dea353.el7 will be installed --> Running transaction check ---> Package container-selinux.noarch 2:2.107-3.el7 will be installed --> Processing Dependency: selinux-policy >= 3.13.1-216.el7 for package: 2:container-selinux-2.107-3.el7.noarch --> Processing Dependency: selinux-policy-base >= 3.13.1-216.el7 for package: 2:container-selinux-2.107-3.el7.noarch --> Processing Dependency: selinux-policy-targeted >= 3.13.1-216.el7 for package: 2:container-selinux-2.107-3.el7.noarch ---> Package libyaml.x86_64 0:0.1.4-11.el7_0 will be installed --> Finished Dependency Resolution Error: Package: 2:container-selinux-2.107-3.el7.noarch (rhel-7-server-extras-rpms) Requires: selinux-policy-targeted >= 3.13.1-216.el7 Installed: selinux-policy-targeted-3.13.1-166.el7_4.9.noarch (@rhui-rhel-7-server-rhui-eus-rpms) selinux-policy-targeted = 3.13.1-166.el7_4.9 Available: selinux-policy-targeted-3.12.1-153.el7.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.12.1-153.el7 Available: selinux-policy-targeted-3.12.1-153.el7_0.10.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.12.1-153.el7_0.10 Available: selinux-policy-targeted-3.12.1-153.el7_0.11.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.12.1-153.el7_0.11 Available: selinux-policy-targeted-3.12.1-153.el7_0.12.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.12.1-153.el7_0.12 Available: selinux-policy-targeted-3.12.1-153.el7_0.13.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.12.1-153.el7_0.13 Available: selinux-policy-targeted-3.13.1-23.el7.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.13.1-23.el7 Available: selinux-policy-targeted-3.13.1-23.el7_1.7.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.13.1-23.el7_1.7 Available: selinux-policy-targeted-3.13.1-23.el7_1.8.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.13.1-23.el7_1.8 Available: selinux-policy-targeted-3.13.1-23.el7_1.13.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.13.1-23.el7_1.13 Available: selinux-policy-targeted-3.13.1-23.el7_1.17.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.13.1-23.el7_1.17 Available: selinux-policy-targeted-3.13.1-23.el7_1.18.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.13.1-23.el7_1.18 Available: selinux-policy-targeted-3.13.1-23.el7_1.21.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.13.1-23.el7_1.21 Available: selinux-policy-targeted-3.13.1-60.el7.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.13.1-60.el7 Available: selinux-policy-targeted-3.13.1-60.el7_2.3.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.13.1-60.el7_2.3 Available: selinux-policy-targeted-3.13.1-60.el7_2.7.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.13.1-60.el7_2.7 Available: selinux-policy-targeted-3.13.1-60.el7_2.9.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.13.1-60.el7_2.9 Available: selinux-policy-targeted-3.13.1-102.el7.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.13.1-102.el7 Available: selinux-policy-targeted-3.13.1-102.el7_3.4.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.13.1-102.el7_3.4 Available: selinux-policy-targeted-3.13.1-102.el7_3.7.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.13.1-102.el7_3.7 Available: selinux-policy-targeted-3.13.1-102.el7_3.13.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.13.1-102.el7_3.13 Available: selinux-policy-targeted-3.13.1-102.el7_3.15.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.13.1-102.el7_3.15 Available: selinux-policy-targeted-3.13.1-102.el7_3.16.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.13.1-102.el7_3.16 Available: selinux-policy-targeted-3.13.1-166.el7.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.13.1-166.el7 Available: selinux-policy-targeted-3.13.1-166.el7_4.4.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.13.1-166.el7_4.4 Available: selinux-policy-targeted-3.13.1-166.el7_4.5.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.13.1-166.el7_4.5 Available: selinux-policy-targeted-3.13.1-166.el7_4.7.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.13.1-166.el7_4.7 Error: Package: 2:container-selinux-2.107-3.el7.noarch (rhel-7-server-extras-rpms) Requires: selinux-policy >= 3.13.1-216.el7 Installed: selinux-policy-3.13.1-166.el7_4.9.noarch (@rhui-rhel-7-server-rhui-eus-rpms) selinux-policy = 3.13.1-166.el7_4.9 Available: selinux-policy-3.12.1-153.el7.noarch (rhel-7-server-rpms) selinux-policy = 3.12.1-153.el7 Available: selinux-policy-3.12.1-153.el7_0.10.noarch (rhel-7-server-rpms) selinux-policy = 3.12.1-153.el7_0.10 Available: selinux-policy-3.12.1-153.el7_0.11.noarch (rhel-7-server-rpms) selinux-policy = 3.12.1-153.el7_0.11 Available: selinux-policy-3.12.1-153.el7_0.12.noarch (rhel-7-server-rpms) selinux-policy = 3.12.1-153.el7_0.12 Available: selinux-policy-3.12.1-153.el7_0.13.noarch (rhel-7-server-rpms) selinux-policy = 3.12.1-153.el7_0.13 Available: selinux-policy-3.13.1-23.el7.noarch (rhel-7-server-rpms) selinux-policy = 3.13.1-23.el7 Available: selinux-policy-3.13.1-23.el7_1.7.noarch (rhel-7-server-rpms) selinux-policy = 3.13.1-23.el7_1.7 Available: selinux-policy-3.13.1-23.el7_1.8.noarch (rhel-7-server-rpms) selinux-policy = 3.13.1-23.el7_1.8 Available: selinux-policy-3.13.1-23.el7_1.13.noarch (rhel-7-server-rpms) selinux-policy = 3.13.1-23.el7_1.13 Available: selinux-policy-3.13.1-23.el7_1.17.noarch (rhel-7-server-rpms) selinux-policy = 3.13.1-23.el7_1.17 Available: selinux-policy-3.13.1-23.el7_1.18.noarch (rhel-7-server-rpms) selinux-policy = 3.13.1-23.el7_1.18 Available: selinux-policy-3.13.1-23.el7_1.21.noarch (rhel-7-server-rpms) selinux-policy = 3.13.1-23.el7_1.21 Available: selinux-policy-3.13.1-60.el7.noarch (rhel-7-server-rpms) selinux-policy = 3.13.1-60.el7 Available: selinux-policy-3.13.1-60.el7_2.3.noarch (rhel-7-server-rpms) selinux-policy = 3.13.1-60.el7_2.3 Available: selinux-policy-3.13.1-60.el7_2.7.noarch (rhel-7-server-rpms) selinux-policy = 3.13.1-60.el7_2.7 Available: selinux-policy-3.13.1-60.el7_2.9.noarch (rhel-7-server-rpms) selinux-policy = 3.13.1-60.el7_2.9 Available: selinux-policy-3.13.1-102.el7.noarch (rhel-7-server-rpms) selinux-policy = 3.13.1-102.el7 Available: selinux-policy-3.13.1-102.el7_3.4.noarch (rhel-7-server-rpms) selinux-policy = 3.13.1-102.el7_3.4 Available: selinux-policy-3.13.1-102.el7_3.7.noarch (rhel-7-server-rpms) selinux-policy = 3.13.1-102.el7_3.7 Available: selinux-policy-3.13.1-102.el7_3.13.noarch (rhel-7-server-rpms) selinux-policy = 3.13.1-102.el7_3.13 Available: selinux-policy-3.13.1-102.el7_3.15.noarch (rhel-7-server-rpms) selinux-policy = 3.13.1-102.el7_3.15 Available: selinux-policy-3.13.1-102.el7_3.16.noarch (rhel-7-server-rpms) selinux-policy = 3.13.1-102.el7_3.16 Available: selinux-policy-3.13.1-166.el7.noarch (rhel-7-server-rpms) selinux-policy = 3.13.1-166.el7 Available: selinux-policy-3.13.1-166.el7_4.4.noarch (rhel-7-server-rpms) selinux-policy = 3.13.1-166.el7_4.4 Available: selinux-policy-3.13.1-166.el7_4.5.noarch (rhel-7-server-rpms) selinux-policy = 3.13.1-166.el7_4.5 Available: selinux-policy-3.13.1-166.el7_4.7.noarch (rhel-7-server-rpms) selinux-policy = 3.13.1-166.el7_4.7 Error: Package: 2:container-selinux-2.107-3.el7.noarch (rhel-7-server-extras-rpms) Requires: selinux-policy-base >= 3.13.1-216.el7 Installed: selinux-policy-targeted-3.13.1-166.el7_4.9.noarch (@rhui-rhel-7-server-rhui-eus-rpms) selinux-policy-base = 3.13.1-166.el7_4.9 Available: selinux-policy-minimum-3.12.1-153.el7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.12.1-153.el7 Available: selinux-policy-minimum-3.12.1-153.el7_0.10.noarch (rhel-7-server-rpms) selinux-policy-base = 3.12.1-153.el7_0.10 Available: selinux-policy-minimum-3.12.1-153.el7_0.11.noarch (rhel-7-server-rpms) selinux-policy-base = 3.12.1-153.el7_0.11 Available: selinux-policy-minimum-3.12.1-153.el7_0.12.noarch (rhel-7-server-rpms) selinux-policy-base = 3.12.1-153.el7_0.12 Available: selinux-policy-minimum-3.12.1-153.el7_0.13.noarch (rhel-7-server-rpms) selinux-policy-base = 3.12.1-153.el7_0.13 Available: selinux-policy-minimum-3.13.1-23.el7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-23.el7 Available: selinux-policy-minimum-3.13.1-23.el7_1.7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-23.el7_1.7 Available: selinux-policy-minimum-3.13.1-23.el7_1.8.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-23.el7_1.8 Available: selinux-policy-minimum-3.13.1-23.el7_1.13.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-23.el7_1.13 Available: selinux-policy-minimum-3.13.1-23.el7_1.17.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-23.el7_1.17 Available: selinux-policy-minimum-3.13.1-23.el7_1.18.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-23.el7_1.18 Available: selinux-policy-minimum-3.13.1-23.el7_1.21.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-23.el7_1.21 Available: selinux-policy-minimum-3.13.1-60.el7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-60.el7 Available: selinux-policy-minimum-3.13.1-60.el7_2.3.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-60.el7_2.3 Available: selinux-policy-minimum-3.13.1-60.el7_2.7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-60.el7_2.7 Available: selinux-policy-minimum-3.13.1-60.el7_2.9.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-60.el7_2.9 Available: selinux-policy-minimum-3.13.1-102.el7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-102.el7 Available: selinux-policy-minimum-3.13.1-102.el7_3.4.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-102.el7_3.4 Available: selinux-policy-minimum-3.13.1-102.el7_3.7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-102.el7_3.7 Available: selinux-policy-minimum-3.13.1-102.el7_3.13.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-102.el7_3.13 Available: selinux-policy-minimum-3.13.1-102.el7_3.15.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-102.el7_3.15 Available: selinux-policy-minimum-3.13.1-102.el7_3.16.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-102.el7_3.16 Available: selinux-policy-minimum-3.13.1-166.el7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-166.el7 Available: selinux-policy-minimum-3.13.1-166.el7_4.4.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-166.el7_4.4 Available: selinux-policy-minimum-3.13.1-166.el7_4.5.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-166.el7_4.5 Available: selinux-policy-minimum-3.13.1-166.el7_4.7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-166.el7_4.7 Available: selinux-policy-minimum-3.13.1-166.el7_4.9.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-166.el7_4.9 Available: selinux-policy-mls-3.12.1-153.el7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.12.1-153.el7 Available: selinux-policy-mls-3.12.1-153.el7_0.10.noarch (rhel-7-server-rpms) selinux-policy-base = 3.12.1-153.el7_0.10 Available: selinux-policy-mls-3.12.1-153.el7_0.11.noarch (rhel-7-server-rpms) selinux-policy-base = 3.12.1-153.el7_0.11 Available: selinux-policy-mls-3.12.1-153.el7_0.12.noarch (rhel-7-server-rpms) selinux-policy-base = 3.12.1-153.el7_0.12 Available: selinux-policy-mls-3.12.1-153.el7_0.13.noarch (rhel-7-server-rpms) selinux-policy-base = 3.12.1-153.el7_0.13 Available: selinux-policy-mls-3.13.1-23.el7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-23.el7 Available: selinux-policy-mls-3.13.1-23.el7_1.7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-23.el7_1.7 Available: selinux-policy-mls-3.13.1-23.el7_1.8.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-23.el7_1.8 Available: selinux-policy-mls-3.13.1-23.el7_1.13.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-23.el7_1.13 Available: selinux-policy-mls-3.13.1-23.el7_1.17.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-23.el7_1.17 Available: selinux-policy-mls-3.13.1-23.el7_1.18.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-23.el7_1.18 Available: selinux-policy-mls-3.13.1-23.el7_1.21.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-23.el7_1.21 Available: selinux-policy-mls-3.13.1-60.el7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-60.el7 Available: selinux-policy-mls-3.13.1-60.el7_2.3.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-60.el7_2.3 Available: selinux-policy-mls-3.13.1-60.el7_2.7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-60.el7_2.7 Available: selinux-policy-mls-3.13.1-60.el7_2.9.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-60.el7_2.9 Available: selinux-policy-mls-3.13.1-102.el7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-102.el7 Available: selinux-policy-mls-3.13.1-102.el7_3.4.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-102.el7_3.4 Available: selinux-policy-mls-3.13.1-102.el7_3.7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-102.el7_3.7 Available: selinux-policy-mls-3.13.1-102.el7_3.13.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-102.el7_3.13 Available: selinux-policy-mls-3.13.1-102.el7_3.15.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-102.el7_3.15 Available: selinux-policy-mls-3.13.1-102.el7_3.16.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-102.el7_3.16 Available: selinux-policy-mls-3.13.1-166.el7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-166.el7 Available: selinux-policy-mls-3.13.1-166.el7_4.4.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-166.el7_4.4 Available: selinux-policy-mls-3.13.1-166.el7_4.5.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-166.el7_4.5 Available: selinux-policy-mls-3.13.1-166.el7_4.7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-166.el7_4.7 Available: selinux-policy-mls-3.13.1-166.el7_4.9.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-166.el7_4.9 Available: selinux-policy-targeted-3.12.1-153.el7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.12.1-153.el7 Available: selinux-policy-targeted-3.12.1-153.el7_0.10.noarch (rhel-7-server-rpms) selinux-policy-base = 3.12.1-153.el7_0.10 Available: selinux-policy-targeted-3.12.1-153.el7_0.11.noarch (rhel-7-server-rpms) selinux-policy-base = 3.12.1-153.el7_0.11 Available: selinux-policy-targeted-3.12.1-153.el7_0.12.noarch (rhel-7-server-rpms) selinux-policy-base = 3.12.1-153.el7_0.12 Available: selinux-policy-targeted-3.12.1-153.el7_0.13.noarch (rhel-7-server-rpms) selinux-policy-base = 3.12.1-153.el7_0.13 Available: selinux-policy-targeted-3.13.1-23.el7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-23.el7 Available: selinux-policy-targeted-3.13.1-23.el7_1.7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-23.el7_1.7 Available: selinux-policy-targeted-3.13.1-23.el7_1.8.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-23.el7_1.8 Available: selinux-policy-targeted-3.13.1-23.el7_1.13.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-23.el7_1.13 Available: selinux-policy-targeted-3.13.1-23.el7_1.17.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-23.el7_1.17 Available: selinux-policy-targeted-3.13.1-23.el7_1.18.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-23.el7_1.18 Available: selinux-policy-targeted-3.13.1-23.el7_1.21.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-23.el7_1.21 Available: selinux-policy-targeted-3.13.1-60.el7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-60.el7 Available: selinux-policy-targeted-3.13.1-60.el7_2.3.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-60.el7_2.3 Available: selinux-policy-targeted-3.13.1-60.el7_2.7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-60.el7_2.7 Available: selinux-policy-targeted-3.13.1-60.el7_2.9.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-60.el7_2.9 Available: selinux-policy-targeted-3.13.1-102.el7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-102.el7 Available: selinux-policy-targeted-3.13.1-102.el7_3.4.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-102.el7_3.4 Available: selinux-policy-targeted-3.13.1-102.el7_3.7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-102.el7_3.7 Available: selinux-policy-targeted-3.13.1-102.el7_3.13.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-102.el7_3.13 Available: selinux-policy-targeted-3.13.1-102.el7_3.15.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-102.el7_3.15 Available: selinux-policy-targeted-3.13.1-102.el7_3.16.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-102.el7_3.16 Available: selinux-policy-targeted-3.13.1-166.el7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-166.el7 Available: selinux-policy-targeted-3.13.1-166.el7_4.4.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-166.el7_4.4 Available: selinux-policy-targeted-3.13.1-166.el7_4.5.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-166.el7_4.5 Available: selinux-policy-targeted-3.13.1-166.el7_4.7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-166.el7_4.7

yum can be configured to try to resolve such errors by temporarily enabling disabled repos and searching for missing dependencies. To enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf

Error: Package: 2:container-selinux-2.107-3.el7.noarch (rhel-7-server-extras-rpms) Requires: selinux-policy-targeted >= 3.13.1-216.el7 Installed: selinux-policy-targeted-3.13.1-166.el7_4.9.noarch (@rhui-rhel-7-server-rhui-eus-rpms) selinux-policy-targeted = 3.13.1-166.el7_4.9 Available: selinux-policy-targeted-3.12.1-153.el7.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.12.1-153.el7 Available: selinux-policy-targeted-3.12.1-153.el7_0.10.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.12.1-153.el7_0.10 Available: selinux-policy-targeted-3.12.1-153.el7_0.11.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.12.1-153.el7_0.11 Available: selinux-policy-targeted-3.12.1-153.el7_0.12.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.12.1-153.el7_0.12 Available: selinux-policy-targeted-3.12.1-153.el7_0.13.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.12.1-153.el7_0.13 Available: selinux-policy-targeted-3.13.1-23.el7.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.13.1-23.el7 Available: selinux-policy-targeted-3.13.1-23.el7_1.7.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.13.1-23.el7_1.7 Available: selinux-policy-targeted-3.13.1-23.el7_1.8.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.13.1-23.el7_1.8 Available: selinux-policy-targeted-3.13.1-23.el7_1.13.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.13.1-23.el7_1.13 Available: selinux-policy-targeted-3.13.1-23.el7_1.17.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.13.1-23.el7_1.17 Available: selinux-policy-targeted-3.13.1-23.el7_1.18.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.13.1-23.el7_1.18 Available: selinux-policy-targeted-3.13.1-23.el7_1.21.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.13.1-23.el7_1.21 Available: selinux-policy-targeted-3.13.1-60.el7.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.13.1-60.el7 Available: selinux-policy-targeted-3.13.1-60.el7_2.3.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.13.1-60.el7_2.3 Available: selinux-policy-targeted-3.13.1-60.el7_2.7.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.13.1-60.el7_2.7 Available: selinux-policy-targeted-3.13.1-60.el7_2.9.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.13.1-60.el7_2.9 Available: selinux-policy-targeted-3.13.1-102.el7.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.13.1-102.el7 Available: selinux-policy-targeted-3.13.1-102.el7_3.4.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.13.1-102.el7_3.4 Available: selinux-policy-targeted-3.13.1-102.el7_3.7.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.13.1-102.el7_3.7 Available: selinux-policy-targeted-3.13.1-102.el7_3.13.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.13.1-102.el7_3.13 Available: selinux-policy-targeted-3.13.1-102.el7_3.15.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.13.1-102.el7_3.15 Available: selinux-policy-targeted-3.13.1-102.el7_3.16.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.13.1-102.el7_3.16 Available: selinux-policy-targeted-3.13.1-166.el7.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.13.1-166.el7 Available: selinux-policy-targeted-3.13.1-166.el7_4.4.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.13.1-166.el7_4.4 Available: selinux-policy-targeted-3.13.1-166.el7_4.5.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.13.1-166.el7_4.5 Available: selinux-policy-targeted-3.13.1-166.el7_4.7.noarch (rhel-7-server-rpms) selinux-policy-targeted = 3.13.1-166.el7_4.7 Error: Package: 2:container-selinux-2.107-3.el7.noarch (rhel-7-server-extras-rpms) Requires: selinux-policy >= 3.13.1-216.el7 Installed: selinux-policy-3.13.1-166.el7_4.9.noarch (@rhui-rhel-7-server-rhui-eus-rpms) selinux-policy = 3.13.1-166.el7_4.9 Available: selinux-policy-3.12.1-153.el7.noarch (rhel-7-server-rpms) selinux-policy = 3.12.1-153.el7 Available: selinux-policy-3.12.1-153.el7_0.10.noarch (rhel-7-server-rpms) selinux-policy = 3.12.1-153.el7_0.10 Available: selinux-policy-3.12.1-153.el7_0.11.noarch (rhel-7-server-rpms) selinux-policy = 3.12.1-153.el7_0.11 Available: selinux-policy-3.12.1-153.el7_0.12.noarch (rhel-7-server-rpms) selinux-policy = 3.12.1-153.el7_0.12 Available: selinux-policy-3.12.1-153.el7_0.13.noarch (rhel-7-server-rpms) selinux-policy = 3.12.1-153.el7_0.13 Available: selinux-policy-3.13.1-23.el7.noarch (rhel-7-server-rpms) selinux-policy = 3.13.1-23.el7 Available: selinux-policy-3.13.1-23.el7_1.7.noarch (rhel-7-server-rpms) selinux-policy = 3.13.1-23.el7_1.7 Available: selinux-policy-3.13.1-23.el7_1.8.noarch (rhel-7-server-rpms) selinux-policy = 3.13.1-23.el7_1.8 Available: selinux-policy-3.13.1-23.el7_1.13.noarch (rhel-7-server-rpms) selinux-policy = 3.13.1-23.el7_1.13 Available: selinux-policy-3.13.1-23.el7_1.17.noarch (rhel-7-server-rpms) selinux-policy = 3.13.1-23.el7_1.17 Available: selinux-policy-3.13.1-23.el7_1.18.noarch (rhel-7-server-rpms) selinux-policy = 3.13.1-23.el7_1.18 Available: selinux-policy-3.13.1-23.el7_1.21.noarch (rhel-7-server-rpms) selinux-policy = 3.13.1-23.el7_1.21 Available: selinux-policy-3.13.1-60.el7.noarch (rhel-7-server-rpms) selinux-policy = 3.13.1-60.el7 Available: selinux-policy-3.13.1-60.el7_2.3.noarch (rhel-7-server-rpms) selinux-policy = 3.13.1-60.el7_2.3 Available: selinux-policy-3.13.1-60.el7_2.7.noarch (rhel-7-server-rpms) selinux-policy = 3.13.1-60.el7_2.7 Available: selinux-policy-3.13.1-60.el7_2.9.noarch (rhel-7-server-rpms) selinux-policy = 3.13.1-60.el7_2.9 Available: selinux-policy-3.13.1-102.el7.noarch (rhel-7-server-rpms) selinux-policy = 3.13.1-102.el7 Available: selinux-policy-3.13.1-102.el7_3.4.noarch (rhel-7-server-rpms) selinux-policy = 3.13.1-102.el7_3.4 Available: selinux-policy-3.13.1-102.el7_3.7.noarch (rhel-7-server-rpms) selinux-policy = 3.13.1-102.el7_3.7 Available: selinux-policy-3.13.1-102.el7_3.13.noarch (rhel-7-server-rpms) selinux-policy = 3.13.1-102.el7_3.13 Available: selinux-policy-3.13.1-102.el7_3.15.noarch (rhel-7-server-rpms) selinux-policy = 3.13.1-102.el7_3.15 Available: selinux-policy-3.13.1-102.el7_3.16.noarch (rhel-7-server-rpms) selinux-policy = 3.13.1-102.el7_3.16 Available: selinux-policy-3.13.1-166.el7.noarch (rhel-7-server-rpms) selinux-policy = 3.13.1-166.el7 Available: selinux-policy-3.13.1-166.el7_4.4.noarch (rhel-7-server-rpms) selinux-policy = 3.13.1-166.el7_4.4 Available: selinux-policy-3.13.1-166.el7_4.5.noarch (rhel-7-server-rpms) selinux-policy = 3.13.1-166.el7_4.5 Available: selinux-policy-3.13.1-166.el7_4.7.noarch (rhel-7-server-rpms) selinux-policy = 3.13.1-166.el7_4.7 Error: Package: 2:container-selinux-2.107-3.el7.noarch (rhel-7-server-extras-rpms) Requires: selinux-policy-base >= 3.13.1-216.el7 Installed: selinux-policy-targeted-3.13.1-166.el7_4.9.noarch (@rhui-rhel-7-server-rhui-eus-rpms) selinux-policy-base = 3.13.1-166.el7_4.9 Available: selinux-policy-minimum-3.12.1-153.el7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.12.1-153.el7 Available: selinux-policy-minimum-3.12.1-153.el7_0.10.noarch (rhel-7-server-rpms) selinux-policy-base = 3.12.1-153.el7_0.10 Available: selinux-policy-minimum-3.12.1-153.el7_0.11.noarch (rhel-7-server-rpms) selinux-policy-base = 3.12.1-153.el7_0.11 Available: selinux-policy-minimum-3.12.1-153.el7_0.12.noarch (rhel-7-server-rpms) selinux-policy-base = 3.12.1-153.el7_0.12 Available: selinux-policy-minimum-3.12.1-153.el7_0.13.noarch (rhel-7-server-rpms) selinux-policy-base = 3.12.1-153.el7_0.13 Available: selinux-policy-minimum-3.13.1-23.el7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-23.el7 Available: selinux-policy-minimum-3.13.1-23.el7_1.7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-23.el7_1.7 Available: selinux-policy-minimum-3.13.1-23.el7_1.8.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-23.el7_1.8 Available: selinux-policy-minimum-3.13.1-23.el7_1.13.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-23.el7_1.13 Available: selinux-policy-minimum-3.13.1-23.el7_1.17.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-23.el7_1.17 Available: selinux-policy-minimum-3.13.1-23.el7_1.18.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-23.el7_1.18 Available: selinux-policy-minimum-3.13.1-23.el7_1.21.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-23.el7_1.21 Available: selinux-policy-minimum-3.13.1-60.el7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-60.el7 Available: selinux-policy-minimum-3.13.1-60.el7_2.3.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-60.el7_2.3 Available: selinux-policy-minimum-3.13.1-60.el7_2.7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-60.el7_2.7 Available: selinux-policy-minimum-3.13.1-60.el7_2.9.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-60.el7_2.9 Available: selinux-policy-minimum-3.13.1-102.el7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-102.el7 Available: selinux-policy-minimum-3.13.1-102.el7_3.4.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-102.el7_3.4 Available: selinux-policy-minimum-3.13.1-102.el7_3.7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-102.el7_3.7 Available: selinux-policy-minimum-3.13.1-102.el7_3.13.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-102.el7_3.13 Available: selinux-policy-minimum-3.13.1-102.el7_3.15.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-102.el7_3.15 Available: selinux-policy-minimum-3.13.1-102.el7_3.16.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-102.el7_3.16 Available: selinux-policy-minimum-3.13.1-166.el7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-166.el7 Available: selinux-policy-minimum-3.13.1-166.el7_4.4.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-166.el7_4.4 Available: selinux-policy-minimum-3.13.1-166.el7_4.5.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-166.el7_4.5 Available: selinux-policy-minimum-3.13.1-166.el7_4.7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-166.el7_4.7 Available: selinux-policy-minimum-3.13.1-166.el7_4.9.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-166.el7_4.9 Available: selinux-policy-mls-3.12.1-153.el7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.12.1-153.el7 Available: selinux-policy-mls-3.12.1-153.el7_0.10.noarch (rhel-7-server-rpms) selinux-policy-base = 3.12.1-153.el7_0.10 Available: selinux-policy-mls-3.12.1-153.el7_0.11.noarch (rhel-7-server-rpms) selinux-policy-base = 3.12.1-153.el7_0.11 Available: selinux-policy-mls-3.12.1-153.el7_0.12.noarch (rhel-7-server-rpms) selinux-policy-base = 3.12.1-153.el7_0.12 Available: selinux-policy-mls-3.12.1-153.el7_0.13.noarch (rhel-7-server-rpms) selinux-policy-base = 3.12.1-153.el7_0.13 Available: selinux-policy-mls-3.13.1-23.el7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-23.el7 Available: selinux-policy-mls-3.13.1-23.el7_1.7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-23.el7_1.7 Available: selinux-policy-mls-3.13.1-23.el7_1.8.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-23.el7_1.8 Available: selinux-policy-mls-3.13.1-23.el7_1.13.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-23.el7_1.13 Available: selinux-policy-mls-3.13.1-23.el7_1.17.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-23.el7_1.17 Available: selinux-policy-mls-3.13.1-23.el7_1.18.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-23.el7_1.18 Available: selinux-policy-mls-3.13.1-23.el7_1.21.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-23.el7_1.21 Available: selinux-policy-mls-3.13.1-60.el7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-60.el7 Available: selinux-policy-mls-3.13.1-60.el7_2.3.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-60.el7_2.3 Available: selinux-policy-mls-3.13.1-60.el7_2.7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-60.el7_2.7 Available: selinux-policy-mls-3.13.1-60.el7_2.9.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-60.el7_2.9 Available: selinux-policy-mls-3.13.1-102.el7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-102.el7 Available: selinux-policy-mls-3.13.1-102.el7_3.4.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-102.el7_3.4 Available: selinux-policy-mls-3.13.1-102.el7_3.7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-102.el7_3.7 Available: selinux-policy-mls-3.13.1-102.el7_3.13.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-102.el7_3.13 Available: selinux-policy-mls-3.13.1-102.el7_3.15.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-102.el7_3.15 Available: selinux-policy-mls-3.13.1-102.el7_3.16.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-102.el7_3.16 Available: selinux-policy-mls-3.13.1-166.el7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-166.el7 Available: selinux-policy-mls-3.13.1-166.el7_4.4.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-166.el7_4.4 Available: selinux-policy-mls-3.13.1-166.el7_4.5.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-166.el7_4.5 Available: selinux-policy-mls-3.13.1-166.el7_4.7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-166.el7_4.7 Available: selinux-policy-mls-3.13.1-166.el7_4.9.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-166.el7_4.9 Available: selinux-policy-targeted-3.12.1-153.el7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.12.1-153.el7 Available: selinux-policy-targeted-3.12.1-153.el7_0.10.noarch (rhel-7-server-rpms) selinux-policy-base = 3.12.1-153.el7_0.10 Available: selinux-policy-targeted-3.12.1-153.el7_0.11.noarch (rhel-7-server-rpms) selinux-policy-base = 3.12.1-153.el7_0.11 Available: selinux-policy-targeted-3.12.1-153.el7_0.12.noarch (rhel-7-server-rpms) selinux-policy-base = 3.12.1-153.el7_0.12 Available: selinux-policy-targeted-3.12.1-153.el7_0.13.noarch (rhel-7-server-rpms) selinux-policy-base = 3.12.1-153.el7_0.13 Available: selinux-policy-targeted-3.13.1-23.el7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-23.el7 Available: selinux-policy-targeted-3.13.1-23.el7_1.7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-23.el7_1.7 Available: selinux-policy-targeted-3.13.1-23.el7_1.8.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-23.el7_1.8 Available: selinux-policy-targeted-3.13.1-23.el7_1.13.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-23.el7_1.13 Available: selinux-policy-targeted-3.13.1-23.el7_1.17.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-23.el7_1.17 Available: selinux-policy-targeted-3.13.1-23.el7_1.18.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-23.el7_1.18 Available: selinux-policy-targeted-3.13.1-23.el7_1.21.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-23.el7_1.21 Available: selinux-policy-targeted-3.13.1-60.el7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-60.el7 Available: selinux-policy-targeted-3.13.1-60.el7_2.3.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-60.el7_2.3 Available: selinux-policy-targeted-3.13.1-60.el7_2.7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-60.el7_2.7 Available: selinux-policy-targeted-3.13.1-60.el7_2.9.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-60.el7_2.9 Available: selinux-policy-targeted-3.13.1-102.el7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-102.el7 Available: selinux-policy-targeted-3.13.1-102.el7_3.4.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-102.el7_3.4 Available: selinux-policy-targeted-3.13.1-102.el7_3.7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-102.el7_3.7 Available: selinux-policy-targeted-3.13.1-102.el7_3.13.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-102.el7_3.13 Available: selinux-policy-targeted-3.13.1-102.el7_3.15.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-102.el7_3.15 Available: selinux-policy-targeted-3.13.1-102.el7_3.16.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-102.el7_3.16 Available: selinux-policy-targeted-3.13.1-166.el7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-166.el7 Available: selinux-policy-targeted-3.13.1-166.el7_4.4.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-166.el7_4.4 Available: selinux-policy-targeted-3.13.1-166.el7_4.5.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-166.el7_4.5 Available: selinux-policy-targeted-3.13.1-166.el7_4.7.noarch (rhel-7-server-rpms) selinux-policy-base = 3.13.1-166.el7_4.7 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest

Now, I used --skip-broken, and the results are below

[root@JDE920WEB2 azureadmin]# yum install -y docker device-mapper-libs device-mapper-event-libs --skip-broken Loaded plugins: langpacks, product-id, search-disabled-repos Package 7:device-mapper-libs-1.02.140-8.el7.x86_64 already installed and latest version Package 7:device-mapper-event-libs-1.02.140-8.el7.x86_64 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package docker.x86_64 2:1.13.1-109.gitcccb291.el7_7 will be installed --> Processing Dependency: docker-client = 2:1.13.1-109.gitcccb291.el7_7 for package: 2:docker-1.13.1-109.gitcccb291.el7_7.x86_64 --> Processing Dependency: docker-common = 2:1.13.1-109.gitcccb291.el7_7 for package: 2:docker-1.13.1-109.gitcccb291.el7_7.x86_64 --> Running transaction check ---> Package docker-client.x86_64 2:1.13.1-109.gitcccb291.el7_7 will be installed ---> Package docker-common.x86_64 2:1.13.1-109.gitcccb291.el7_7 will be installed --> Processing Dependency: docker-rhel-push-plugin = 2:1.13.1-109.gitcccb291.el7_7 for package: 2:docker-common-1.13.1-109.gitcccb291.el7_7.x86_64 --> Processing Dependency: container-selinux >= 2:2.51-1 for package: 2:docker-common-1.13.1-109.gitcccb291.el7_7.x86_64 --> Processing Dependency: container-storage-setup >= 0.9.0-1 for package: 2:docker-common-1.13.1-109.gitcccb291.el7_7.x86_64 --> Processing Dependency: oci-register-machine >= 1:0-5.13 for package: 2:docker-common-1.13.1-109.gitcccb291.el7_7.x86_64 --> Processing Dependency: oci-systemd-hook >= 1:0.1.4-9 for package: 2:docker-common-1.13.1-109.gitcccb291.el7_7.x86_64 --> Processing Dependency: oci-umount >= 2:2.3.3-3 for package: 2:docker-common-1.13.1-109.gitcccb291.el7_7.x86_64 --> Processing Dependency: skopeo-containers >= 1:0.1.26-2 for package: 2:docker-common-1.13.1-109.gitcccb291.el7_7.x86_64 --> Processing Dependency: atomic-registries for package: 2:docker-common-1.13.1-109.gitcccb291.el7_7.x86_64 --> Running transaction check ---> Package atomic-registries.x86_64 1:1.22.1-29.gitb507039.el7 will be installed --> Processing Dependency: python-pytoml for package: 1:atomic-registries-1.22.1-29.gitb507039.el7.x86_64 --> Processing Dependency: python-yaml for package: 1:atomic-registries-1.22.1-29.gitb507039.el7.x86_64 ---> Package container-selinux.noarch 2:2.107-3.el7 will be installed --> Processing Dependency: selinux-policy >= 3.13.1-216.el7 for package: 2:container-selinux-2.107-3.el7.noarch --> Processing Dependency: selinux-policy-base >= 3.13.1-216.el7 for package: 2:container-selinux-2.107-3.el7.noarch --> Processing Dependency: selinux-policy-targeted >= 3.13.1-216.el7 for package: 2:container-selinux-2.107-3.el7.noarch ---> Package container-storage-setup.noarch 0:0.11.0-2.git5eaf76c.el7 will be installed ---> Package containers-common.x86_64 1:0.1.37-3.el7 will be installed ---> Package docker-rhel-push-plugin.x86_64 2:1.13.1-109.gitcccb291.el7_7 will be installed ---> Package oci-register-machine.x86_64 1:0-6.git2b44233.el7 will be installed ---> Package oci-systemd-hook.x86_64 1:0.2.0-1.git05e6923.el7_6 will be installed ---> Package oci-umount.x86_64 2:2.5-3.el7 will be installed --> Running transaction check ---> Package PyYAML.x86_64 0:3.10-11.el7 will be installed --> Processing Dependency: libyaml-0.so.2()(64bit) for package: PyYAML-3.10-11.el7.x86_64 ---> Package container-selinux.noarch 2:2.107-3.el7 will be installed --> Processing Dependency: selinux-policy >= 3.13.1-216.el7 for package: 2:container-selinux-2.107-3.el7.noarch --> Processing Dependency: selinux-policy-base >= 3.13.1-216.el7 for package: 2:container-selinux-2.107-3.el7.noarch --> Processing Dependency: selinux-policy-targeted >= 3.13.1-216.el7 for package: 2:container-selinux-2.107-3.el7.noarch ---> Package python-pytoml.noarch 0:0.1.14-1.git7dea353.el7 will be installed --> Running transaction check ---> Package container-selinux.noarch 2:2.107-3.el7 will be installed --> Processing Dependency: selinux-policy >= 3.13.1-216.el7 for package: 2:container-selinux-2.107-3.el7.noarch --> Processing Dependency: selinux-policy-base >= 3.13.1-216.el7 for package: 2:container-selinux-2.107-3.el7.noarch --> Processing Dependency: selinux-policy-targeted >= 3.13.1-216.el7 for package: 2:container-selinux-2.107-3.el7.noarch ---> Package libyaml.x86_64 0:0.1.4-11.el7_0 will be installed rhel-7-server-rpms/7.4/x86_64/filelists_db | 30 MB 00:00:02 rhel-7-server-extras-rpms/x86_64/filelists_db | 685 kB 00:00:00 --> Running transaction check ---> Package docker.x86_64 2:1.13.1-109.gitcccb291.el7_7 will be installed --> Processing Dependency: docker-common = 2:1.13.1-109.gitcccb291.el7_7 for package: 2:docker-1.13.1-109.gitcccb291.el7_7.x86_64 ---> Package docker-client.x86_64 2:1.13.1-109.gitcccb291.el7_7 will be installed --> Processing Dependency: docker-common for package: 2:docker-client-1.13.1-109.gitcccb291.el7_7.x86_64 --> Running transaction check ---> Package docker.x86_64 2:1.13.1-109.gitcccb291.el7_7 will be installed --> Processing Dependency: docker-common = 2:1.13.1-109.gitcccb291.el7_7 for package: 2:docker-1.13.1-109.gitcccb291.el7_7.x86_64 ---> Package docker-common.x86_64 2:1.13.1-108.git4ef4b30.el7 will be installed --> Processing Dependency: docker-rhel-push-plugin = 2:1.13.1-108.git4ef4b30.el7 for package: 2:docker-common-1.13.1-108.git4ef4b30.el7.x86_64 --> Processing Dependency: container-selinux >= 2:2.51-1 for package: 2:docker-common-1.13.1-108.git4ef4b30.el7.x86_64 --> Processing Dependency: container-storage-setup >= 0.9.0-1 for package: 2:docker-common-1.13.1-108.git4ef4b30.el7.x86_64 --> Processing Dependency: oci-register-machine >= 1:0-5.13 for package: 2:docker-common-1.13.1-108.git4ef4b30.el7.x86_64 --> Processing Dependency: oci-systemd-hook >= 1:0.1.4-9 for package: 2:docker-common-1.13.1-108.git4ef4b30.el7.x86_64 --> Processing Dependency: oci-umount >= 2:2.3.3-3 for package: 2:docker-common-1.13.1-108.git4ef4b30.el7.x86_64 --> Processing Dependency: skopeo-containers >= 1:0.1.26-2 for package: 2:docker-common-1.13.1-108.git4ef4b30.el7.x86_64 --> Processing Dependency: atomic-registries for package: 2:docker-common-1.13.1-108.git4ef4b30.el7.x86_64 --> Running transaction check ---> Package atomic-registries.x86_64 1:1.22.1-28.gitb507039.el7 will be installed --> Processing Dependency: python-pytoml for package: 1:atomic-registries-1.22.1-28.gitb507039.el7.x86_64 --> Processing Dependency: python-yaml for package: 1:atomic-registries-1.22.1-28.gitb507039.el7.x86_64 ---> Package container-selinux.noarch 2:2.107-1.el7_6 will be installed --> Processing Dependency: selinux-policy >= 3.13.1-216.el7 for package: 2:container-selinux-2.107-1.el7_6.noarch --> Processing Dependency: selinux-policy-base >= 3.13.1-216.el7 for package: 2:container-selinux-2.107-1.el7_6.noarch --> Processing Dependency: selinux-policy-targeted >= 3.13.1-216.el7 for package: 2:container-selinux-2.107-1.el7_6.noarch ---> Package container-storage-setup.noarch 0:0.10.0-1.gitdf0dcd5.el7 will be installed ---> Package containers-common.x86_64 1:0.1.37-1.el7 will be installed ---> Package docker.x86_64 2:1.13.1-109.gitcccb291.el7_7 will be installed --> Processing Dependency: docker-common = 2:1.13.1-109.gitcccb291.el7_7 for package: 2:docker-1.13.1-109.gitcccb291.el7_7.x86_64 ---> Package docker-common.x86_64 2:1.13.1-108.git4ef4b30.el7 will be installed --> Processing Dependency: oci-register-machine >= 1:0-5.13 for package: 2:docker-common-1.13.1-108.git4ef4b30.el7.x86_64 ---> Package docker-rhel-push-plugin.x86_64 2:1.13.1-108.git4ef4b30.el7 will be installed ---> Package oci-systemd-hook.x86_64 1:0.1.18-3.git8787307.el7_6 will be installed ---> Package oci-umount.x86_64 2:2.5-1.el7_6 will be installed

Packages skipped because of dependency problems: PyYAML-3.10-11.el7.x86_64 from rhel-7-server-rpms 1:atomic-registries-1.22.1-28.gitb507039.el7.x86_64 from rhel-7-server-extras-rpms 1:atomic-registries-1.22.1-29.gitb507039.el7.x86_64 from rhel-7-server-extras-rpms 2:container-selinux-2.107-1.el7_6.noarch from rhel-7-server-extras-rpms 2:container-selinux-2.107-3.el7.noarch from rhel-7-server-extras-rpms container-storage-setup-0.10.0-1.gitdf0dcd5.el7.noarch from rhel-7-server-extras-rpms container-storage-setup-0.11.0-2.git5eaf76c.el7.noarch from rhel-7-server-extras-rpms 1:containers-common-0.1.37-1.el7.x86_64 from rhel-7-server-extras-rpms 1:containers-common-0.1.37-3.el7.x86_64 from rhel-7-server-extras-rpms 2:docker-1.13.1-109.gitcccb291.el7_7.x86_64 from rhel-7-server-extras-rpms 2:docker-client-1.13.1-109.gitcccb291.el7_7.x86_64 from rhel-7-server-extras-rpms 2:docker-common-1.13.1-108.git4ef4b30.el7.x86_64 from rhel-7-server-extras-rpms 2:docker-common-1.13.1-109.gitcccb291.el7_7.x86_64 from rhel-7-server-extras-rpms 2:docker-rhel-push-plugin-1.13.1-108.git4ef4b30.el7.x86_64 from rhel-7-server-extras-rpms 2:docker-rhel-push-plugin-1.13.1-109.gitcccb291.el7_7.x86_64 from rhel-7-server-extras-rpms libyaml-0.1.4-11.el7_0.x86_64 from rhel-7-server-rpms 1:oci-register-machine-0-6.git2b44233.el7.x86_64 from rhel-7-server-extras-rpms 1:oci-systemd-hook-0.1.18-3.git8787307.el7_6.x86_64 from rhel-7-server-extras-rpms 1:oci-systemd-hook-0.2.0-1.git05e6923.el7_6.x86_64 from rhel-7-server-extras-rpms 2:oci-umount-2.5-1.el7_6.x86_64 from rhel-7-server-extras-rpms 2:oci-umount-2.5-3.el7.x86_64 from rhel-7-server-extras-rpms python-pytoml-0.1.14-1.git7dea353.el7.noarch from rhel-7-server-extras-rpms Error: Success - empty transaction

yum can be configured to try to resolve such errors by temporarily enabling disabled repos and searching for missing dependencies. To enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf

Before i give up and tell my company not to use RHEL for dockers, can somebody advise a quick fix? Please dont ask me to subscribe for the docker EE version, I already tried Docker EE for Linux and Docker EE for RHEL. Both had the same issues with dependencies. The reason I need this version because my client uses this version and I am supposed to provide a POC based on this version.

As a last option, I used Centos and was able to install docker without a glitch. I still want to use RHEL unless someone here can confirm its a bad choice

Hello Kariappa BA

I don't see a problem for you running this on CentOS. You just won't have support except for community support for the OS itself.

Back to the software installation issue. If you wish to run any third-party software or any application on RHEL, I'd start by running a current version of Red Hat. What version of CentOS did you install? 7.7? We run various forms of third-party editions of Docker without incident with current editions of both CentOS and RHEL.

I've installed various 3rd party editions (non-Redhat-editions) on both Red Hat and CentOS. But when I did so, I used a more current edition of Red Hat or CentOS. As I type this, the most current edition is of course 7.7 or 8.1 as of March 7th, 20020. Using an outdated version of RHEL (you mentioned 7.4) will chain you to a dependency issue. Those providing third party editions of Docker you cite gear their software deliveries to current editions unless they happen to have an archived edition they kept for older versions of an OS.

In our Development and Production areas - we do not generally experience this issue because we keep our systems updated to a current edition of RHEL/CentOS.

We use Docker versions on both RHEL and CentOS, but when we do so, we do it on the current editions of RHEL and CentOS and it works (in our environment) well under those conditions. Installing applications (especially third-party, etc on an OS of four minor versions older than the current supported OS will likely not result in a smooth experience. I hope things do go well for you in your project.

Regards,
RJ

Thank you RJ, will try 7.7 and keep you posted

Hey Guys,

I am coming for your help:-

save this script and run this, it will help to setup docker-ce in redhat 7

!/bin/bash # Install Docker CE on RHEL 7 # Update system.

sudo yum update -y

Install required packages.

sudo yum install -y yum-utils \ device-mapper-persistent-data \ lvm2

Install container-selinux. Check for latest version: http://mirror.centos.org/centos/7/extras/x86_64/Packages/.

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

Set up Docker repository.

sudo yum-config-manager \ --add-repo \ https://download.docker.com/linux/centos/docker-ce.repo

Install Docker CE and tools.

sudo yum install -y \ docker-ce \ docker-ce-cli \ containerd.io

Add current user to docker group.

sudo usermod -a -G docker $USER

Start and enable docker service.

sudo systemctl start docker sudo systemctl enable docker