Yes, Docker support IPv6. IPv6 networking is only supported on Docker daemons running on Linux hosts.Support for IPv6 address has been there since Docker Engine 1.5 release.To enable IPv6 support in the Docker daemon, you need to edit
/etc/docker/daemon.json
and set the ipv6 key to true.
Ensure that you reload the Docker configuration file.
$ systemctl reload docker
You can now create networks with the
--ipv6
flag and assign containers IPv6 addresses using the
--ip6
flag.
Итог
Key takeaway for interview: Does Docker support IPv6?