network
/etc/resolv.conf
A nameserver line specifies the IP address of a DNS (Domain Name System) server that the system should use to resolve domain names into IP addresses. It should be host IP for a docker container. resolv.conf
can be overwritten by network management tools such as NetworkManager, systemd-resolved, or DHCP clients.
This IP configuration may be take as nameserver
, rather than 172.27.64.1
# nameserver 192.168.65.7
nameserver 172.27.64.1
I change it to
# nameserver 192.168.65.7
nameserver 172.27.64.1
and it works.