docker: Error response from daemon: Get "https://registry-1.docker.io/v2/library/hello-world/manifests/sha256:63421b18c1443a9a85139225293fae7541fb40b7832d9deff80b6a9a75ce3604": dial tcp: lookup registry-1.docker.io on 192.168.180.2:53: no such host.
已解决:
vim /etc/resolv.conf
点击i进入编辑模式,添加
vim /etc/resolv.conf
# i编辑模式后添加下面
nameserver 8.8.4.4
nameserver 8.8.8.8
# :wq 保存后退出