Comment on Managing podman quadlets, users subids and such
kanera@feddit.cl 3 days agoSo far I’ve circumvented networking with different users by mapping everything through localhost, without stuff going outside the network, how would you connect say; a service running on user A, on network A, to a service running on user B, on network B?
So far I can’t imagine how to connect both, unless im doing some disgusting nftables hackery, which is an option I COULD take, just one I dont want to take.
reluctant_squidd@lemmy.ca 3 days ago
If I am following, there are a few ways, which shouldn’t involve hacks in nft, but you would need it allowing at least localhost traffic, which I assume you do already.
The keyword “localhost” usually will only work within a network or pod on rootless, however there is a separate address that can work.
host.containers.internal
I use it quite often for extra-user and pod communication. Hopefully this helps.