From 7e0033575a71495fa5edc0a235d3846660076f8c Mon Sep 17 00:00:00 2001 From: Victoria Bialas Date: Tue, 29 Aug 2017 10:16:47 -0700 Subject: [PATCH] clarified links and services communication in Compose (#4416) Signed-off-by: Victoria Bialas --- compose/compose-file/index.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/compose/compose-file/index.md b/compose/compose-file/index.md index 8cfae5a232..c419f606d8 100644 --- a/compose/compose-file/index.md +++ b/compose/compose-file/index.md @@ -1088,6 +1088,10 @@ a link alias (`SERVICE:ALIAS`), or just the service name. Containers for the linked service will be reachable at a hostname identical to the alias, or the service name if no alias was specified. +Links are not required to enable services to communicate - by default, +any service can reach any other service at that service’s name. (See also, the +[Links topic in Networking in Compose](/compose/networking.md#links).) + Links also express dependency between services in the same way as [depends_on](#dependson), so they determine the order of service startup.