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

前端 未结 18 1196
余生分开走
余生分开走 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:51

    To resolve the following error I was facing to install docker-ce on RHEL-7

    Error: Package: 3:docker-ce-18.09.5-3.el7.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
    

    Please run following command before installing latest version of docker-ce

    yum install -y http://mirror.centos.org/centos/7/extras/x86_64/Packages/container-selinux-2.68-1.el7.noarch.rpm
    

    Once previous command runs successfully then install docker-ce with following command

    yum -y install docker-ce
    

    once installation is done then run

    systemctl start docker
    

    Note : Run all these commands with root user

提交回复
热议问题