Docker使用问题记录

问题

1
2
Trying to pull repository docker.io/library/elasticsearch ... 
Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on [::1]:53: read udp [::1]:50339->[::1]:53: read: connection refused```

解决方法:

1
2
3
4
vim /etc/resolv.conf 

nameserver 8.8.4.4
nameserver 8.8.8.8

本博客所有文章除特别声明外,均采用 CC BY-SA 4.0 协议 ,转载请注明出处!