Nexus3 on docker giving java.net.UnknownHostException

By way of an update I installed the tcpdump on the docker container and see that there is no outgoing traffic for nexus

However, when I run a standalone test java app on the same container I can see outgoing traffic.

Am I missing something really obvious?