Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Unable to install on latest CentOS/RHEL/Rocky/AlmaLinux 8.3

未关闭
#230 6 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
docker, shell

调研方向

从 get.docker.sh 开始,在 CentOS 8.3 或兼容的 RHEL 系统上复现报告中的安装过程。检查软件包依赖关系的处理;当 docker-ce 无需用户删除 runc 且不出现报告中的依赖冲突即可安装时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

When trying to run the script from get.docker.sh on CentOS 8.3, or a compatible version with the latest updates, I get the output below. A simple workaround is to execute

sudo dnf -y remove runc

(Note, that this will also deinstall buildah, cockpit-podman, conmon, container-selinux, containers-common, criu, fuse-overlayfs, fuse3, fuse3-libs, libnet, libslirp, libvarlink, podman, podman-catatonit, protobuf-c, and slirp4netns.)

`# Executing docker install script, commit: 7cae5f8b0decc17d6571f9f52eb840fbc13b2737

  • sh -c 'yum install -y -q yum-utils'
  • sh -c 'yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo'
    Adding repo from: https://download.docker.com/linux/centos/docker-ce.repo
  • '[' stable '!=' stable ']'
  • sh -c 'yum makecache'
    Rocky Linux 8 - AppStream 3.9 kB/s | 4.3 kB 00:01
    Rocky Linux 8 - BaseOS 7.7 kB/s | 3.9 kB 00:00
    Rocky Linux 8 - Extras 3.0 kB/s | 1.5 kB 00:00
    Docker CE Stable - x86_64 35 kB/s | 12 kB 00:00
    Metadata cache created.
  • '[' -n '' ']'
  • sh -c 'yum install -y -q docker-ce'
    Error:
    Problem: package docker-ce-3:20.10.6-3.el8.x86_64 requires containerd.io >= 1.4.1, but none of the providers can be installed
    • package containerd.io-1.4.3-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-70.rc92.module+el8.3.0+161+9c4b50ff.x86_64
    • package containerd.io-1.4.3-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-70.rc92.module+el8.3.0+161+9c4b50ff.x86_64
    • package containerd.io-1.4.3-3.2.el8.x86_64 conflicts with runc provided by runc-1.0.0-70.rc92.module+el8.3.0+161+9c4b50ff.x86_64
    • package containerd.io-1.4.3-3.2.el8.x86_64 obsoletes runc provided by runc-1.0.0-70.rc92.module+el8.3.0+161+9c4b50ff.x86_64
    • package containerd.io-1.4.4-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-70.rc92.module+el8.3.0+161+9c4b50ff.x86_64
    • package containerd.io-1.4.4-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-70.rc92.module+el8.3.0+161+9c4b50ff.x86_64
    • problem with installed package buildah-1.16.7-4.module+el8.3.0+161+9c4b50ff.x86_64
    • package buildah-1.16.7-4.module+el8.3.0+161+9c4b50ff.x86_64 requires runc >= 1.0.0-26, but none of the providers can be installed
    • cannot install the best candidate for the job
    • package runc-1.0.0-56.rc5.dev.git2abd837.module+el8.3.0+159+115700a4.x86_64 is filtered out by modular filtering
    • package runc-1.0.0-64.rc10.module+el8.3.0+207+d3ea56f5.x86_64 is filtered out by modular filtering
      `
主要语言
Shell
星标
3.2k
派生
863
平均合并
3 小时 15 分钟
30 天内合并 PR
2

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

docker/docker-install 的其他 Issue

查看 docker/docker-install 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。