network: Note that ip6_tables must be loaded to use IPv6 in DinD

Signed-off-by: Rob Murray <rob.murray@docker.com>
This commit is contained in:
Rob Murray 2024-06-12 15:23:40 +01:00 committed by David Karlsson
parent cbbb68a4eb
commit 47b5820f00
1 changed files with 12 additions and 0 deletions

View File

@ -176,6 +176,18 @@ subnet supports 65 536 IPv6 addresses.
[wikipedia-ipv6-reserved]: https://en.wikipedia.org/wiki/Reserved_IP_addresses#IPv6
[wikipedia-ipv6-ula]: https://en.wikipedia.org/wiki/Unique_local_address
## Docker in Docker
On a host using `xtables` (legacy `iptables`) instead of `nftables`, kernel
module `ip6_tables` must be loaded before an IPv6 Docker network can be created,
It is normally loaded automatically when Docker starts.
However, if you running Docker in Docker that is not based on a recent
version of the [official `docker` image](https://hub.docker.com/_/docker), you
may need to run `modprobe ip6_tables` on your host. Alternatively, use daemon
option `--ip6tables=false` to disable `ip6tables` for the containerized Docker
Engine.
## Next steps
- [Networking overview](../../network/index.md)