With INPUT set to DROP in both iptables and ip6tables, IPv4 curl works but IPv6 curl doesn’t

When you publish a port of a Docker container, usually Docker will set firewall rules for it to work. Have you done both of your firewall changes before or during container run?