ERROR: 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:46171->192.168.65.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: auth.docker.io on 192.168.65.1:53: no such host

chick your internet connection 
turn off the firewall

Tags:

Misc Example