Skip to content

Commit 0246b73

Browse files
committed
Note that ip6_tables must be loaded to use IPv6 in DinD
Signed-off-by: Rob Murray <[email protected]>
1 parent 4584715 commit 0246b73

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

content/config/daemon/ipv6.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,18 @@ subnet supports 65 536 IPv6 addresses.
176176
[wikipedia-ipv6-reserved]: https://en.wikipedia.org/wiki/Reserved_IP_addresses#IPv6
177177
[wikipedia-ipv6-ula]: https://en.wikipedia.org/wiki/Unique_local_address
178178

179+
## Docker in Docker
180+
181+
On a host using `xtables` (legacy `iptables`) instead of `nftables`, kernel
182+
module `ip6_tables` must be loaded before an IPv6 Docker network can be created,
183+
It is normally loaded automatically when Docker starts.
184+
185+
However, if you running Docker in Docker that is not based on a recent
186+
version of the [official `docker` image](https://hub.docker.com/_/docker), you
187+
may need to run `modprobe ip6_tables` on your host. Alternatively, use daemon
188+
option `--ip6tables=false` to disable `ip6tables` for the containerized Docker
189+
Engine.
190+
179191
## Next steps
180192

181193
- [Networking overview](../../network/index.md)

0 commit comments

Comments
 (0)