Support for ipv6 in docker swarm mode

hi all,

We are able to create docker swarm with overlay network in ipv4 but having trouble in attaching overlay network to containers when we enable ipv6 support during creation of overlay nw.

the commands we are using are

docker swarm init --default-addr-pool 10.20.0.0/16 --default-addr-pool-mask-length 16 --advertise-addr 172.26.50.45

*docker network create --driver=overlay --ipv6 --attachable *
–subnet 10.0.0.0/16 *
–gateway 10.0.0.1 *
–opt com.docker.network.bridge.name=overlay *
–opt com.docker.network.bridge.enable_icc=true *
** --opt com.docker.network.bridge.enable_ip_forwarding=true *

** --opt com.docker.network.bridge.enable_ip_masquerade=true *

** overlay

could you please let know what is the level of support for ipv6 in docker swarm mode and overlay networks ?

thanks
Megarajan

What’s the trouble? What does docker network inspect tell you?

hi

I am not able to ping the ipv6 addresses of other containers in overlay network

root@mongo-s143:/# ping6 fd00:dead:beef::242:ac11:7
PING fd00:dead:beef::242:ac11:7 (fd00:dead:beef::242:ac11:7): 56 data bytes
64 bytes from mongo-s143 (fd00:dead:beef::242:ac11:4): Destination unreachable: Address unreachable
64 bytes from mongo-s143 (fd00:dead:beef::242:ac11:4): Destination unreachable: Address unreachable
64 bytes from mongo-s143 (fd00:dead:beef::242:ac11:4): Destination unreachable: Address unreachable

root@mongo-s143:/# ping6 2606:ae00:3001:8311:172:16:244:a
PING 2606:ae00:3001:8311:172:16:244:a (2606:ae00:3001:8311:172:16:244:a): 56 data bytes
^C

^C

^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C

exit

ping: getnameinfo: Temporary failure in name resolution
64 bytes from unknown: icmp_seq=0 ttl=63 time=0.796 ms
— 2606:ae00:3001:8311:172:16:244:a ping statistics —
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.796/0.796/0.796/0.000 ms
root@mongo-s143:/#
root@mongo-s143:/#

thanks

Did you enable Docker IPv6 support (link)?

yes, ipv6 is enabled, is there a way to enable debugs for triaging overlay networks ?