mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
docs: Fix IPv6 example for Compose (#3531)
The subnet must be specified as part of `ipam.configs`. This was unfortunately slightly incorrect due to a mistake in the official Docker docs being propagated, which has since been fixed upstream. Refer to the official Compose Spec for more details: * https://docs.docker.com/compose/compose-file/06-networks/#ipam
This commit is contained in:
parent
c5420530b7
commit
20241691b8
|
@ -92,7 +92,9 @@ Next, configure a network with an IPv6 subnet for your container with any of the
|
|||
networks:
|
||||
dms-ipv6:
|
||||
enable_ipv6: true
|
||||
subnet: fd00:cafe:face:feed::/64
|
||||
ipam:
|
||||
config:
|
||||
- subnet: fd00:cafe:face:feed::/64
|
||||
```
|
||||
|
||||
??? tip "Override the implicit `default` network"
|
||||
|
|
Loading…
Reference in a new issue