From 2ff837ea7c59d2191a2e0222191e9a8ee334f2bc Mon Sep 17 00:00:00 2001 From: Christian Date: Sun, 3 Jan 2021 09:29:25 +0100 Subject: [PATCH] fix: update name of config option `network_mode` --- compose/compose-file/compose-file-v2.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/compose/compose-file/compose-file-v2.md b/compose/compose-file/compose-file-v2.md index 9c0c9b212b..8de5d4f643 100644 --- a/compose/compose-file/compose-file-v2.md +++ b/compose/compose-file/compose-file-v2.md @@ -1004,19 +1004,19 @@ Network mode. Use the same values as the docker client `--network` parameter, pl the special form `service:[service name]`. ```yaml -net: "bridge" +network_mode: "bridge" ``` ```yaml -net: "host" +network_mode: "host" ``` ```yaml -net: "none" +network_mode: "none" ``` ```yaml -net: "service:[service name]" +network_mode: "service:[service name]" ``` ```yaml -net: "container:[container name/id]" +network_mode: "container:[container name/id]" ``` ### networks