Allow container scoped relations between subordinate services - 1.20

This is the backport to 1.20 of #1234.