From 50e9e49552164621549d843d1e72b06c8f43536d Mon Sep 17 00:00:00 2001 From: Daniel Maslowski Date: Wed, 26 Apr 2017 22:50:47 +0200 Subject: [PATCH] Note on mixing network_mode with links in Docker compose file (#3049) --- compose/compose-file/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compose/compose-file/index.md b/compose/compose-file/index.md index aca96d4ba2..e744bed5d6 100644 --- a/compose/compose-file/index.md +++ b/compose/compose-file/index.md @@ -771,6 +771,8 @@ the special form `service:[service name]`. > [deploying a stack in swarm mode](/engine/reference/commandline/stack_deploy.md) > with a (version 3) Compose file. +> **Note**: `network_mode: "host"` cannot be mixed with [links](#links). + ### networks Networks to join, referencing entries under the