mirror of https://github.com/docker/docs.git
Note about setting ipv4/ipv6 not working in swarm (#5466)
* Note about setting ipv4/ipv6 not working in swarm I spent a few hours yesterday assuming this was possible, but it turns out it isn't. Hopefully this will help prevent others from making the same mistake I did.
This commit is contained in:
parent
f89605478d
commit
21c517a026
|
|
@ -1306,8 +1306,11 @@ The corresponding network configuration in the
|
|||
addressing is desired, the [`enable_ipv6`](#enableipv6) option must be set, and
|
||||
you must use a version 2.x Compose file, such as the one below.
|
||||
|
||||
> **Note**: These options do not currently work in swarm mode.
|
||||
|
||||
An example:
|
||||
|
||||
```yaml
|
||||
version: '2.1'
|
||||
|
||||
services:
|
||||
|
|
@ -1330,6 +1333,7 @@ An example:
|
|||
subnet: 172.16.238.0/24
|
||||
-
|
||||
subnet: 2001:3984:3989::/64
|
||||
```
|
||||
|
||||
### pid
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue