I am trying to install Docker CE
on RHEL
using this link. This is my RHEL version:
Red Hat Enterprise Linux Server release 7.3 (Maipo)
When I execute this:
sudo yum -y install docker-ce
I am getting this error:
Error: Package: docker-ce-17.06.0.ce-1.el7.centos.x86_64 (docker-ce-stable) Requires: container-selinux >= 2.9 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
I tried using --skip-broken
and rpm -Va --nofiles --nodigest
but again getting the same error. Please let me know how to resolve this issue and install Docker CE in RHEL 7.3.
Unlike CentOS, you can not install Docker CE on RHEL 7/8 using the official installation script because it isn't allowed. You'll get the following error when you try that: RHEL is only allowed to use Docker EE.
SELinux is an open source project released in 2000 and integrated into the Linux kernel in 2003. According to Red Hat's explainer, "SELinux is a security architecture for Linux systems that allows administrators to have more control over who can access the system.
The container-selinux
package is available from the rhel-7-server-extras-rpms
channel. You can enable it using:
subscription-manager repos --enable=rhel-7-server-extras-rpms
Sources for the package have been exported to git.centos.org
, too, so you could rebuild it yourself using mock
:
(This is not a programming question, so you should use one of the other sites.)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With