RHEL上的Docker CE-要求:container-selinux> = 2.9 [英] Docker CE on RHEL - Requires: container-selinux >= 2.9
问题描述
我正在尝试使用 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
:
- < a href = https://git.centos.org/summary/rpms!container-selinux.git rel = noreferrer> https://git.centos.org/summary/rpms!container-selinux.git
- https://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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!