Having errors during insallation of docker-ce

Hi all, I have been trying to install docker on my rhel 7 for days but seems like the repository is not working. or else is that when i received the error messages as show below.

Error: Package: selinux-policy-targeted-3.13.1-268.el7_9.2.noarch (rhel-7-server-rpms)
** Requires: policycoreutils >= 2.5-24**
Error: Package: 2:container-selinux-2.119.2-1.911c772.el7_8.noarch (rhel-7-server-extras-rpms)
** Requires: policycoreutils >= 2.5-11**
Error: Package: 2:container-selinux-2.119.2-1.911c772.el7_8.noarch (rhel-7-server-extras-rpms)
** Requires: policycoreutils-python**
Error: Package: selinux-policy-3.13.1-268.el7_9.2.noarch (rhel-7-server-rpms)
** Requires: policycoreutils >= 2.5-24**
Error: Package: selinux-policy-3.13.1-268.el7_9.2.noarch (rhel-7-server-rpms)
** Requires: libsemanage >= 2.5-13**
** Installed: libsemanage-2.5-11.el7.x86_64 (@anaconda/7.5)**
** libsemanage = 2.5-11.el7**

and if the try to do yum install selinux-policy, the results return as below

[spteladmin@localhost ~]$ yum install selinux-policy
Loaded plugins: enabled_repos_upload, package_upload, product-id, search-disabled-repos, subscription-manager
Error loading certificate: [Errno 13] Permission denied: ‘/etc/pki/entitlement/131212066512903499.pem’
Skipping unreadable repository ‘/etc/yum.repos.d/redhat.repo’
You need to be root to perform this command.
Uploading Enabled Repositories Report
Cannot upload enabled repos report, is this client registered?

You either need to be root or prefix the yum command with sudo.

Note: docker-ce for RHEL is only available for the s390x architecture.

Installing the CentOS package on RHEL might be possible, but is not supported. Even if it’s technically possible to install the docker-ce package (at least some people seem to succeed doing so), I would be careful to use an unsupported container engine in an enterprise environment. Should be fine for homelab scenarios though.

Follow the below troubleshooting steps if you still face issues running Docker in Windows 10 machine.

Step 1 – Run Docker Services

Type and search Services in the windows search box or open run then type services.msc and click Ok. Then you will see a list of services available. Go to Docker and check whether Docker Desktop Service is running or not. If it is not running then right-click and click on Start.

How to Install Docker Desktop and Troubleshoot Issues in Windows Machine

Step 2- Enable Hyper-V and Containers

Another step is to verify if the Windows Features are enabled:

Hyper-V and containers
Containers
Type the Windows Feature in Windows search and go to Turn Windows features on or off.

Select Containers and Hyper-V as depicted below and click on OK.

How to Install Docker Desktop and Troubleshoot Issues in Windows Machine

Step 3- Verify Virtualization is enabled from Task Manager

Hardware virtualization is the most powerful feature of Windows 10. This enables you to create a virtual machine on your system which is completely separated from the main system.

To verify virtualization right click on Taskbar and open the Task Manager. Go to performance and then CPU to verify whether Virtualization is enabled or not. If virtualization is disabled Docker Desktop cannot start.

How to Install Docker Desktop and Troubleshoot Issues in Windows Machine

If the virtualization is disabled in your machine then you need to enable it from BIOS Settings. Note that Windows 10 Home edition doesn’t support Hyper-V feature only Windows 10 Enterprise, Pro, or Education support it. Additionally, virtualization depends upon the hardware specification.

Regards,
Rachel Gomez