Podman, slirp4netrns and source IP

podman run man

port_handler=slirp4netns: Use the slirp4netns port forwarding, it is slower than rootlesskit but preserves the correct source IP address. This port handler cannot be used for user-defined networks.

podman-compose by default creates separate nw namespaces for my rootless containers. But I need a valid source IP to:

workaround: use one pod

podman pod create -p 80:80 -p 443:443 --network
slirp4netns:port_handler=slirp4netns

Terminal commands

bocker: Docker implemented in 100 lines of bash

#linux #containers