Nginx not binding to ipv6 address using the Discourse Docker image

Do the debugging steps.

Start another software listening to a free port on IPv6 and try to connect to it from elsewhere. Does it work?