Update ipv6.md (#11148)

* Update ipv6.md

Update the `ipv6` daemon config to include the fixed-cidr-v6 (IPv6 Subnet) key

Co-authored-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Arko Dasgupta 2020-07-16 13:05:15 -07:00 committed by GitHub
parent 2fa736ae2a
commit 1b319c30a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -13,11 +13,13 @@ either IPv4 or IPv6 (or both) with any container, service, or network.
> **Note**: IPv6 networking is only supported on Docker daemons running on Linux
> hosts.
1. Edit `/etc/docker/daemon.json` and set the `ipv6` key to `true`.
1. Edit `/etc/docker/daemon.json`, set the `ipv6` key to `true` and the `fixed-cidr-v6` key
to your IPv6 subnet. In this example we are setting it to `2001:db8:1::/64`.
```json
{
"ipv6": true
"ipv6": true,
"fixed-cidr-v6": "2001:db8:1::/64"
}
```