Replies: 3 comments 1 reply
-
Use |
Beta Was this translation helpful? Give feedback.
-
Maybe I am missing something but for me this only works when the containers are started by the same user. My requirement is that the containers are running under different users. I am not a network engineer, but my understanding is that this should be possible in pasta?
|
Beta Was this translation helpful? Give feedback.
-
Ah yes, sorry I overlooked the two different user part. |
Beta Was this translation helpful? Give feedback.
-
What is the proper way to allow two rootless containers, ran by two different users on the same host, to communicate with each other on some port?
The only way I have figured out is to publish a port to the host, eg.
-p "127.0.0.1:12345:12345
and then run the other container with--network=pasta:-T,12345
Is there a way to bypass this need for publishing a port to the host, and have containers talk to each other directly?
Beta Was this translation helpful? Give feedback.
All reactions