What is IPv6 support in Docker like?
AdvancedConceptNetworking
Answer
Historically opt-in: set "ipv6": true and "fixed-cidr-v6" in daemon.json for the default bridge, or docker network create --ipv6 --subnet fd00::/64. Since Docker 27 IPv6 on user-defined bridges needs less configuration, and Docker 28 adds ip6tables as default. Published ports bind to both v4 and v6 unless you specify the host IP.
More on Networking
What network drivers does Docker have?BeginnerHow does the default bridge network work?AdvancedDefault bridge vs user-defined bridge: what is the difference?IntermediateHow does container DNS work?IntermediateHow does `-p 8080:80` work under the hood?AdvancedWhat is the difference between `-p 80:80` and `-p 127.0.0.1:80:80`?Beginner