Compose: How will name conflict in network be resolved?

Created on 22 Feb 2016  路  2Comments  路  Source: docker/compose

For example, if a projcet_A_network has a service name app, and project_B_network also as ha service name app, and B's app join A's network in additional to B's network, then app in A's network will be resolved to which container??

arenetworking kinquestion

All 2 comments

Undefined. You will get one of the containers. You can use links or alises (coming in 1.6.1) to address this issue and name them differently.

@dnephin, any good approach today?

Was this page helpful?
0 / 5 - 0 ratings