Skip to content

Support ubi-10 by switching iptables-nft/iptables to Recommends instead of Requires on rhel-10 - #600

Open
Spitfire1900 wants to merge 3 commits into
docker:mainfrom
Spitfire1900:ubi-10-support
Open

Spitfire1900 wants to merge 3 commits into
docker:mainfrom
Spitfire1900:ubi-10-support

Conversation

@Spitfire1900

Copy link
Copy Markdown

EL 10 UBI repositories do not support iptables, so switch to recommends only on RHEL 10 or higher. Properly closes docker/docker-ce-packaging#1215

@Spitfire1900

Copy link
Copy Markdown
Author

This is cherry pick of docker/docker-ce-packaging#1354 work.

Comment thread pkg/docker-engine/rpm/docker-ce.spec Resolved

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Normal DNF installation and daemon/container networking on unsubscribed UBI 10 without iptables remain unvalidated because existing checks bypass dependencies and only run dockerd --version.

No open issues 🎉

What changed in this PR

Updates Docker Engine’s RPM dependencies to remove the iptables installation blocker on UBI 10, supporting the EL10 compatibility goal in #1215.

Changes:

  • Changes (iptables-nft or iptables) from required to recommended when the RPM rhel macro is 10 or higher.
  • Preserves the required dependency for other builds and documents why UBI 10 needs the exception.
File Description
pkg/​docker-engine/​rpm/​docker-ce.spec Makes iptables optional for RHEL 10+ RPM environments while retaining the nftables requirement.

Review effort: Balanced

…ad of Requires on rhel-10

EL 10 UBI repositories do not support iptables, so switch to recommends only on RHEL 10 or higher. Properly closes docker/docker-ce-packaging#1215

Signed-off-by: Gottfried, Kyle <6462596+Spitfire1900@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feature: Support EL10

4 participants