Having IPv6 turned off by default is not the only Docker problem with IPv6. When I tried to use IPv6 in Docker couple of years ago I found it to be unusable for my use case. I don't remember details, but remember finding tickets in github issue tracker with long discussions which went nowhere.
Having an "ipv6" configuration option in your software, which defaults to false, falls into the latter group. (Hello, Docker!)