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

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

    I followed many links including the official documentation, however it all ended up in this error:

    Requires: container-selinux >= 2.9
    You could try using --skip-broken to work around the problem
    You could try running: rpm -Va --nofiles --nodigest
    

    The only way it worked for me is as follows (yum upgrade worked I guess):

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

提交回复
热议问题