type
Post
status
Published
date
Nov 16, 2022
slug
docker-install-container-selinux
summary
CentOS 8 安装docker报错: conflicting requests - nothing provides container-selinux >= 2:2.74 needed...
tags
思考
建站
Docker
category
技术分享
icon
password
Property
Nov 17, 2022 06:01 AM
Language
Centos 8 上安装docker时,有时会报: conflicting requests - nothing provides container-selinux >= 2:2.74 needed by containerd
原因:container-selinux没有安装或者版本太低
在网上找了很多方法,都不成功,最后发现下载rpm包,安装rpm包,可以解决问题,现记录如下:
wget https://vault.centos.org/centos/8/AppStream/x86_64/os/Packages/container-selinux-2.124.0-1.gitf958d0c.module_el8.3.0+569+1bada2e4.noarch.rpm
rpm -ivh container-selinux-2.124.0-1.gitf958d0c.module_el8.3.0+569+1bada2e4.noarch.rpm
yum install docker-ce各版本container-selinux 下载地址:https://pkgs.org/download/container-selinux
如果按照这篇文章的步骤操作,则不会遇到上面的问题
- Author:Qi
- URL:https://blog.ltq.im/article/docker-install-container-selinux
- Copyright:All articles in this blog, except for special statements, adopt BY-NC-SA agreement. Please indicate the source!
Relate Posts
2025-11-20
解决Docker用户权限报错”
the attribute version is obsolete, it will be ignored, please remove it to avoid potential confusion
unable to get image 'redis:alpine': permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.51/images/redis:alpine/json": dial unix /var/run/docker.sock: connect: permission denied
”
2022-11-28
OVH KS-LE1 法国测评
2022-11-30
How to Install or Upgrade PHP 8.1 on Debian
2022-11-22
测试bash
2022-11-28
prohosting.de测评
2022-11-30
Bloom测评