Ubuntu 18.04 solved in the docker not normal DNS resolution issues

Docker solve Ubuntu 18.04 in the normal DNS can not resolve the problem:

Note:
Replace Ubuntu 18.04 default /etc/resolv.conf file

mv /etc/resolv.conf /etc/resolv.conf.bak

ln -s /run/systemd/resolve/resolv.conf /etc/

Guess you like

Origin blog.51cto.com/yangzhiming/2443031