前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >Centos7.3 安装 Docker 报错:Requires: container-selinux >= 2:2.74

Centos7.3 安装 Docker 报错:Requires: container-selinux >= 2:2.74

作者头像
donghui
发布2021-04-02 09:51:32
3K0
发布2021-04-02 09:51:32
举报
文章被收录于专栏:donghui的博客donghui的博客

安装 Docker 19.03.8:

yum install docker-ce-19.03.8

报错如下:

Error: Package: 3:docker-ce-19.03.8-3.el7.x86_64 (docker-ce-stable)

Requires: container-selinux >= 2:2.74

Error: Package: containerd.io-1.4.4-3.1.el7.x86_64 (docker-ce-stable)

Requires: container-selinux >= 2:2.74

You could try using --skip-broken to work around the problem

You could try running: rpm -Va --nofiles --nodigest

操作系统:

CentOS Linux release 7.3.1611 (Core)

解决方式:

使用下面的命令安装 container-selinux:

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

container-selinux 更多版本可以在下面链接查看:

http://mirror.centos.org/centos/7/extras/x86_64/Packages/

参考:

https://stackoverflow.com/questions/45272827/docker-ce-on-rhel-requires-container-selinux-2-9

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
相关产品与服务
容器镜像服务
容器镜像服务(Tencent Container Registry,TCR)为您提供安全独享、高性能的容器镜像托管分发服务。您可同时在全球多个地域创建独享实例,以实现容器镜像的就近拉取,降低拉取时间,节约带宽成本。TCR 提供细颗粒度的权限管理及访问控制,保障您的数据安全。
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档