Access primary container from secondary container


If I run two containers for my tests, can I access the primary container from a secondary container somehow? I know ports of non-primary containers are automatically available in the main container, but is there a mechanism to do the reverse, expose main container ports to non-primary containers?


No, that is not possible.