docker-ce is unable to be installed on UBI 10 container images because iptables-nft is not available

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
52/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
docker, dockerfile

调研方向

Start by locating the RPM packaging metadata that declares docker-ce dependencies and check how dependencies vary by Enterprise Linux version. Reproduce the reported dnf install docker-ce failure on UBI 10 and compare the available packages with UBI 8 and 9. Done means docker-ce can be installed on UBI 10 with a valid dependency provided by its enabled repositories.

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

描述

When attempting to install docker-ce on UBI 10 I am unable to.

# cat /etc/redhat-release
Red Hat Enterprise Linux release 10.2 (Coughlan)
# dnf install docker-ce
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

Last metadata expiration check: 0:00:14 ago on Tue Sep  1 20:20:11 2026.
Error:
 Problem: cannot install the best candidate for the job
  - nothing provides (iptables-nft or iptables) needed by docker-ce-3:29.7.2-1.el10.x86_64 from docker-ce-stable
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[root@f14b9547a19f ~]# dnf repolist
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

repo id                                                                                                                 repo name
artifactory_satellite_epel_10                                                                                           EPEL EL 10 x86_64 RPMs
artifactory_satellite_ubi_appstream_10                                                                                  Red Hat Universal Base Image 10 (RPMs) - AppStream
artifactory_satellite_ubi_baseos_10                                                                                     Red Hat Universal Base Image 10 (RPMs) - BaseOS
artifactory_satellite_ubi_codeready-builder_10                                                                          Red Hat Universal Base Image 10 (RPMs) - CodeReady Builder
docker-ce-stable                                                                                                        Docker CE Stable - x86_64

iptables-nft is included in the ubi 9 baseos stream and iptables is included in the ubi 8 baseos stream, neither are included in ubi 10's baseos stream or appstream.

主要语言
Dockerfile
星标
37
派生
42
平均合并
16 小时 53 分钟
30 天内合并 PR
30

环境准备

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

从这里开始

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

docker/packaging 的其他 Issue

查看 docker/packaging 的全部 Issue

相似的 Issue

更多 Build System Issue

把新 issue 发到你的邮箱

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