ERROR: Get “https://registry-1.docker.io/v2/”: dial tcp: lookup registry-1.docker.io on 192.168.0.1:53: read udp 192.168.0.12:53003->192.168.0.1:53: i/o timeout
vim /etc/sysconfig/network-scripts/ifcfg-ens33
增加
PEERDNS="no" DNS1=8.8.8.8 DNS2=114.114.114.114
systemctl restart network
cat /etc/resolv.conf
成功