From 2d261dd473b82f5a49ba2d1f61179c4c3c10f35b Mon Sep 17 00:00:00 2001 From: Isaac Hermida Date: Fri, 10 Apr 2026 08:48:09 +0200 Subject: [PATCH] containers: enable netavark port publishing Enable netavark bridge networking in the trimmed Podman recipe so container images support publish-port arguments such as -p 80:8080 and restore iptables dependency. It's needed to install iptables-modules because it is not populated due to NO_RECOMMENDATIONS. Signed-off-by: Isaac Hermida --- .../recipes-containers/podman/podman-trimmed_git.bb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/meta-digi-containers/recipes-containers/podman/podman-trimmed_git.bb b/meta-digi-containers/recipes-containers/podman/podman-trimmed_git.bb index 55a730713..2333383b2 100644 --- a/meta-digi-containers/recipes-containers/podman/podman-trimmed_git.bb +++ b/meta-digi-containers/recipes-containers/podman/podman-trimmed_git.bb @@ -6,18 +6,16 @@ require recipes-containers/podman/podman_git.bb DESCRIPTION = "Trimmed Podman runtime for dey-image-container-manager" -# No CNI implies no isolated or custom network support, no NAT and no forwarding. -# Host networking still works, and Podman uses netavark/aardvark-dns in this setup. -VIRTUAL-RUNTIME_container_networking = "" -PODMAN_NETWORK_BACKEND = "netavark" +# Enable Podman bridge networking with netavark +VIRTUAL-RUNTIME_container_networking = "netavark" RDEPENDS:${PN}:append = " \ netavark \ aardvark-dns \ + iptables-modules \ " RDEPENDS:${PN}:remove = " \ - iptables \ libdevmapper \ "