Attempting to run `hostname -i` on an Alpine Linux container in an IPv6 Kubernetes installation fails to resolve the host, despite the ip and hostname being present in /etc/hosts. On the other hand, this works in an Ubuntu container. Presumably this is due to the use of gethostbyname, rather than getaddrinfo.