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

Offen
#592 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
52/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
docker, dockerfile
Bereich
build-system, devops

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
Dockerfile
Sterne
37
Forks
42
Ø Merge
16 Std. 53 Min.
Gemergte PRs (30 T.)
30

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus docker/packaging

Alle Issues in docker/packaging

Ähnliche Issues

Weitere Issues zu Build System

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.