docker run -it --rm ubuntu:16.04 apt update
$ cat /etc/resolv.conf nameserver 親環境のIP(dnsmasqが走っている)
docker run -it --rm --dns 8.8.8.8 ubuntu:16.04