A Docker container supports only IPv4 by default. If you have to use an IPv6 address, you have some configurations to do. However, you can use both versions simultaneously once you finish the changes.