Docker CE on RHEL - Requires: container-selinux >= 2.9

前端 未结 18 1241
余生分开走
余生分开走 2020-12-07 13:19

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 (Mai         


        
18条回答
  •  忘掉有多难
    2020-12-07 13:43

    Installing the Selinux from the Centos repository worked for me:
    1. Go to http://mirror.centos.org/centos/7/extras/x86_64/Packages/
    2. Find the latest version for container-selinux i.e. container-selinux-2.21-1.el7.noarch.rpm
    3. Run the following command on your terminal: $ sudo yum install -y http://mirror.centos.org/centos/7/extras/x86_64/Packages/**Add_current_container-selinux_package_here**
    4. The command should looks like the following $ sudo yum install -y http://mirror.centos.org/centos/7/extras/x86_64/Packages/container-selinux-2.21-1.el7.noarch.rpm
    Note: the container version is constantly being updated, that is why you should look for the latest version in the Centos' repository

提交回复
热议问题