Elvileg a DNS is jó a konténerben:
$ systemd-resolve --status
Global
Protocols: LLMNR=resolve -mDNS -DNSOverTLS DNSSEC=no/unsupported
resolv.conf mode: uplink
Current DNS Server: 8.8.8.8
DNS Servers: 8.8.8.8
Link 2 (eth0)
Current Scopes: LLMNR/IPv4 LLMNR/IPv6
Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
De mégsem...
$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=54 time=32.7 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=54 time=13.5 ms
$ ping ns.google.com
ping: ns.google.com: A név vagy a szolgáltatás nem ismert