diff --git a/compose/compose-file/compose-file-v1.md b/compose/compose-file/compose-file-v1.md index 458d5cb988..c0a65dc512 100644 --- a/compose/compose-file/compose-file-v1.md +++ b/compose/compose-file/compose-file-v1.md @@ -365,7 +365,7 @@ 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 also express dependency between services in the same way as -[depends_on](#dependson), so they determine the order of service startup. +[depends_on](#depends_on), so they determine the order of service startup. > **Note**: If you define both links and [networks](#networks), services with > links between them must share at least one network in common in order to diff --git a/compose/compose-file/compose-file-v2.md b/compose/compose-file/compose-file-v2.md index 7ea7e0179d..e914aa4112 100644 --- a/compose/compose-file/compose-file-v2.md +++ b/compose/compose-file/compose-file-v2.md @@ -638,7 +638,7 @@ 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 also express dependency between services in the same way as -[depends_on](#dependson), so they determine the order of service startup. +[depends_on](#depends_on), so they determine the order of service startup. > **Note**: If you define both links and [networks](#networks), services with > links between them must share at least one network in common in order to diff --git a/compose/compose-file/compose-versioning.md b/compose/compose-file/compose-versioning.md index 627c6c544e..9ce79fe528 100644 --- a/compose/compose-file/compose-versioning.md +++ b/compose/compose-file/compose-versioning.md @@ -166,7 +166,7 @@ Several other options were added to support networking, such as: * [`aliases`](compose-file-v2.md#aliases) -* The [`depends_on`](compose-file-v2.md#dependson) option can be used in place of links to indicate dependencies +* The [`depends_on`](compose-file-v2.md#depends_on) option can be used in place of links to indicate dependencies between services and startup order. version: '2' diff --git a/compose/compose-file/index.md b/compose/compose-file/index.md index c419f606d8..94221828c4 100644 --- a/compose/compose-file/index.md +++ b/compose/compose-file/index.md @@ -1093,7 +1093,7 @@ 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. +[depends_on](#depends_on), so they determine the order of service startup. > **Notes** >