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 <isaac.hermida@digi.com>
This commit is contained in:
parent
a5f42a53af
commit
2d261dd473
|
|
@ -6,18 +6,16 @@ require recipes-containers/podman/podman_git.bb
|
||||||
|
|
||||||
DESCRIPTION = "Trimmed Podman runtime for dey-image-container-manager"
|
DESCRIPTION = "Trimmed Podman runtime for dey-image-container-manager"
|
||||||
|
|
||||||
# No CNI implies no isolated or custom network support, no NAT and no forwarding.
|
# Enable Podman bridge networking with netavark
|
||||||
# Host networking still works, and Podman uses netavark/aardvark-dns in this setup.
|
VIRTUAL-RUNTIME_container_networking = "netavark"
|
||||||
VIRTUAL-RUNTIME_container_networking = ""
|
|
||||||
PODMAN_NETWORK_BACKEND = "netavark"
|
|
||||||
|
|
||||||
RDEPENDS:${PN}:append = " \
|
RDEPENDS:${PN}:append = " \
|
||||||
netavark \
|
netavark \
|
||||||
aardvark-dns \
|
aardvark-dns \
|
||||||
|
iptables-modules \
|
||||||
"
|
"
|
||||||
|
|
||||||
RDEPENDS:${PN}:remove = " \
|
RDEPENDS:${PN}:remove = " \
|
||||||
iptables \
|
|
||||||
libdevmapper \
|
libdevmapper \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue