Fixes a few typos in IPv6 addresses. Will make it easier for users who
actually try and copy/paste or use the example addresses directly.
Docker-DCO-1.1-Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com> (github: estesp)
| ... | ... |
@@ -433,7 +433,7 @@ To assign globally routable IPv6 addresses to your containers you have to |
| 433 | 433 |
specify an IPv6 subnet to pick the addresses from. Set the IPv6 subnet via the |
| 434 | 434 |
`--fixed-cidr-v6` parameter when starting Docker daemon: |
| 435 | 435 |
|
| 436 |
- docker -d --ipv6 --fixed-cidr-v6="2001:db8:0:2:/64" |
|
| 436 |
+ docker -d --ipv6 --fixed-cidr-v6="2001:db8:0:2::/64" |
|
| 437 | 437 |
|
| 438 | 438 |
The subnet for Docker containers should at least have a size of `/80`. This way |
| 439 | 439 |
an IPv6 address can end with the container's MAC address and you prevent NDP |
| ... | ... |
@@ -443,11 +443,11 @@ With the `--fixed-cidr-v6` parameter set Docker will add a new route to the |
| 443 | 443 |
routing table. Further IPv6 routing will be enabled (you may prevent this by |
| 444 | 444 |
starting Docker daemon with `--ip-forward=false`): |
| 445 | 445 |
|
| 446 |
- $ route -A inet6 add 2001:db8:0:2/64 dev docker0 |
|
| 446 |
+ $ route -A inet6 add 2001:db8:0:2::/64 dev docker0 |
|
| 447 | 447 |
$ echo 1 > /proc/sys/net/ipv6/conf/default/forwarding |
| 448 | 448 |
$ echo 1 > /proc/sys/net/ipv6/conf/all/forwarding |
| 449 | 449 |
|
| 450 |
-All traffic to the subnet `2001:db8:0:2/64` will now be routed |
|
| 450 |
+All traffic to the subnet `2001:db8:0:2::/64` will now be routed |
|
| 451 | 451 |
via the `docker0` interface. |
| 452 | 452 |
|
| 453 | 453 |
Be aware that IPv6 forwarding may interfere with your existing IPv6 |