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 摘要。