1. 程式人生 > >Error response from daemon: Get https://index.docker.io/v1/search?q=hello&n=25: dial tcp: lookup ind

Error response from daemon: Get https://index.docker.io/v1/search?q=hello&n=25: dial tcp: lookup ind

1,當執行docker search hello時,報錯如下:

Error response from daemon: Get https://index.docker.io/v1/search?
q=hello&n=25: dial tcp: lookup index.docker.io 
on 192.168.65.1:53: read udp 192.168.65.3:43569->192.168.65.1:53: i/o timeout

2,原因可能是因為在本地搭建了本地私服倉庫後,更改了Insecure registries設定,

如圖,新增registry.docker-cn.com後,點選“Apply"即可!