I read all I could find, but documentation on this scenario is scant or unclear for podman
. I have the following (contrived) ROOTLESS
podman
setup:
pod-1 name:
pod1
Container names in
pod1
:p1c1
-- This is also it's assignedhostname
withinpod1
p1c2
-- This is also it's assignedhostname
withinpod1
p1c3
-- This is also it's assignedhostname
withinpod1
pod-2 name:
pod2
Container names in
pod2
:p2c1
-- This is also it's assignedhostname
withinpod2
p2c2
-- This is also it's assignedhostname
withinpod2
p2c3
-- This is also it's assignedhostname
withinpod2
I keep certain containers in different pods
specifically to avoid port conflict
, and to manage containers as groups.
QUESTION:
Give the above topology, how do I communicate between, say, p1c1
and p2c1
? In other words, step-by-step, what podman(1)
commands do I issue to collect the necessary addressing information
for pod1:p1c1
and pod2:p2c1
, and then use that information to configure applications in them so they can communicate with one another?
Thank you in advance!
EDIT: For searchers, additional information can be found here.
GitHub
, too. – Minutely