Skip to content

Commit

Permalink
Note that ip6_tables must be loaded to use IPv6 in DinD
Browse files Browse the repository at this point in the history
Signed-off-by: Rob Murray <[email protected]>
  • Loading branch information
robmry committed Jun 14, 2024
1 parent cbbf29f commit 3a5deec
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions content/config/daemon/ipv6.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 3a5deec

Please sign in to comment.