docker: Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on [::1]:53: read udp [::1]:49689->[::1]:53: read: connection refused. code example

Example 1: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on 192.168.65.1:53: read udp 192.168.65.1:56829->192.168.65.1:53: read: connection refused

Reset docker to factory defaults

Example 2: docker: Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on 192.168.65.1:53: no such host. in windows

34.228.211.243  registry-1.docker.io

Tags:

Misc Example