温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

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

发布时间:2021-08-11 11:40:55 来源:亿速云 阅读:1569 作者:chen 栏目:云计算

本篇内容主要讲解“Centos7.3安装Docker报错Requires: container-selinux >= 2:2.74怎么解决”,感兴趣的朋友不妨来看看。本文介绍的方法操作简单快捷,实用性强。下面就让小编来带大家学习“Centos7.3安装Docker报错Requires: container-selinux >= 2:2.74怎么解决”吧!

安装 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/

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

到此,相信大家对“Centos7.3安装Docker报错Requires: container-selinux >= 2:2.74怎么解决”有了更深的了解,不妨来实际操作一番吧!这里是亿速云网站,更多相关内容可以进入相关频道进行查询,关注我们,继续学习!

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI