tutorialworks / comments

Comments on our articles
https://www.tutorialworks.com
4 stars 1 forks source link

podman-host-networking/ #12

Open utterances-bot opened 3 years ago

utterances-bot commented 3 years ago

Rootless container/host networking in Podman, without the hassle

The host network mode makes it easier to access services in a rootless container from your host, and vice versa. This article shows you how to set it up.

https://www.tutorialworks.com/podman-host-networking/

b4ck3r commented 3 years ago

From kernel 4.11+ you can define /proc/sys/net/ipv4/ip_unprivileged_port_start to define on which port you start you unprivileged port range.

Semo commented 2 years ago

How do one achieve rootless host to host communication, where both hosts run podman containers and use high-ports and where the containers need to directly exchange data with the other? Example: 3 computers (VMs), each runs one Zookeeper and one Kafka Broker, while all need to contact the other (network mesh). All computers are on the same subnet.