mirror of
https://github.com/docker/docs.git
synced 2026-10-28 07:15:09 +03:00
Adds a "Use router-assigned IPv6 addresses" subsection to the macvlan and ipvlan driver pages, covering how to receive IPv6 via SLAAC from a router on the parent network instead of Docker IPAM. When the network has no IPv6 subnet, Docker disables IPv6 on the endpoint; setting the per-interface `net.ipv6.conf.IFNAME.disable_ipv6` sysctl to `0` via the `endpoint.sysctls` driver option re-enables it so the interface accepts router advertisements. The section links to the `docker network connect` sysctl reference for the full mechanism. Also adds `ipv6`/`slaac` keywords to both pages for discoverability. Motivated by [moby/moby#52815](https://github.com/moby/moby/issues/52815), where the per-endpoint sysctl mechanism was hard to discover from the driver docs. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>