Skip to content

RHEL/CentOS Stream 10 does not include the iptables kernel module #49020

@imbev

Description

@imbev

Description

iptables is deprecated in RHEL 9, and the iptables kernel module not included in RHEL 10: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/9.0_release_notes/deprecated_functionality#deprecated-functionality_networking

When setting up rootless Docker, it is necessary to use --skip-iptables with dockerd-rootless-setuptool.sh.

Reproduce

  1. Install Docker Engine CE on EL 10 using the binary download
  2. Run dockerd-rootless-setuptool.sh install
  3. Observe Docker warning and instructions about missing iptables
[ERROR] Missing system requirements. Run the following commands to
[ERROR] install the requirements and run this tool again.
[ERROR] Alternatively iptables checks can be disabled with --skip-iptables .

########## BEGIN ##########
sudo sh -eux <<EOF
# Load ip_tables module
modprobe ip_tables
EOF
########## END ##########

Expected behavior

No response

docker version

Client:
 Version:           27.3.1
 API version:       1.47
 Go version:        go1.22.7
 Git commit:        ce12230
 Built:             Fri Sep 20 11:39:44 2024
 OS/Arch:           linux/amd64
 Context:           rootless
Cannot connect to the Docker daemon at unix:///run/user/1000/docker.sock. Is the docker daemon running?

docker info

Client:
 Version:    27.3.1
 Context:    rootless
 Debug Mode: false

Server:
ERROR: Cannot connect to the Docker daemon at unix:///run/user/1000/docker.sock. Is the docker daemon running?
errors pretty printing info

Additional Info

$ cat /etc/os-release | grep platform
PLATFORM_ID="platform:el10"
$ dnf list installed | grep iptables
iptables-libs.x86_64                                 1.8.10-8.el10                         @System 
iptables-nft.x86_64                                  1.8.10-8.el10                         @System 
iptables-services.noarch                             1.8.10-8.el10                         @System 
iptables-utils.x86_64                                1.8.10-8.el10                         @System

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugBugs are bugs. The cause may or may not be known at triage time so debugging may be needed.status/0-triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions