Add docs for attachable key in composefile (#4957)

This commit is contained in:
Misty Stanley-Jones 2017-10-13 16:00:56 -07:00 committed by GitHub
parent 26ab6617b4
commit 06c3b7cd34
1 changed files with 17 additions and 0 deletions

View File

@ -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.