containers / containers/podman-compose

RHEL 8.7 podman-compose error iptables

Open
#637 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
6.2k
Forks
622
PR merge metrics
No merged PRs in 30d

Description

`sudo podman-compose up` outputs this error:

`WARN[0000] Failed to load cached network config: network ds_default not found in CNI cache, falling back to loading network ds_default from disk Error: unable to start container 80310f8a7682841891e9e09e43c982099548f8dfcc2bdef211a4fab7863b96e2: plugin type="firewall" failed (add): cni plugin fir ewall failed: failed to list iptables chains: running [/sbin/iptables -t filter -S --wait]: exit status 1: iptables v1.8.4 (nf_tables): table 'filter' is incompatible, use 'nft' tool.`

OS: RHEL 8.7
podman iirc 4.2.0 (installed with `sudo dnf install podman`)
podman-compose (installed with `sudo pip3 install podman-compose`).
podman-plugins (installed with `sudo dnf install podman-plugins`)
SElinux disabled

It works on AlmaLinux 8.7 (same package versions) and Rocky Linux 8.7.

docker-comose.yml
```yml
version: '3.6'
services:
web:
image: odoo:13.0
depends_on:
- db
ports:
- "8069:8069"
db:
image: postgres:13
environment:
- POSTGRES_DB=postgres
- POSTGRES_PASSWORD=odoo
- POSTGRES_USER=odoo
```

I don't know if this is podman or RHEL specific.
https://www.reddit.com/r/redhat/comments/115mt09/rhel_87_error_iptables_table_filter_is/

https://github.com/containers/podman/issues/5569

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.