From 06c3b7cd34fbc7b795993ea96b3367319462ad2a Mon Sep 17 00:00:00 2001 From: Misty Stanley-Jones Date: Fri, 13 Oct 2017 16:00:56 -0700 Subject: [PATCH] Add docs for attachable key in composefile (#4957) --- compose/compose-file/index.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/compose/compose-file/index.md b/compose/compose-file/index.md index e8e144b9d3..f5168df291 100644 --- a/compose/compose-file/index.md +++ b/compose/compose-file/index.md @@ -1952,6 +1952,23 @@ documentation for more information. Optional. foo: "bar" baz: 1 +### attachable + +> **Note**: Only supported for v3.2 and higher. + +Only used when the `driver` is set to `overlay`. If set to `true`, then +standalone containers can attach to this network, in addition to services. If a +standalone container attaches to an overlay network, it can communicate with +services and standalone containers which are also attached to the overlay +network from other Docker daemons. + +```yaml +networks: + mynet1: + driver: overlay + attachable: true +``` + ### enable_ipv6 Enable IPv6 networking on this network.