本文介绍了RHEL上的Docker CE-要求:container-selinux> = 2.9的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 我正在尝试使用RHEL 上安装 Docker CE .com / questions / 42981114 / install-docker-ce-17-03-on-rhel7>链接。这是我的RHEL版本: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)当我执行此操作时:sudo yum -y install docker-ce我收到此错误: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我尝试使用-跳过破和 rpm -Va --nofiles --nodigest ,但再次出现相同的错误。请让我知道如何解决此问题并在RHEL 7.3中安装Docker CE。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.推荐答案 容器-selinux 软件包可从 rhel-7-server-extras-rpms 渠道获得。您可以使用以下命令启用它: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该软件包的来源已导出到 git.centos.org ,所以您可以使用 mock 自己重建它:Sources for the package have been exported to git.centos.org, too, so you could rebuild it yourself using mock: https://git.centos.org/summary/rpms!container-selinux.githttps://git.centos.org/summary/rpms!container-selinux.git(这不是编程问题,因此您应该使用其他站点之一。)(This is not a programming question, so you should use one of the other sites.) 这篇关于RHEL上的Docker CE-要求:container-selinux> = 2.9的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 08-22 14:53