Docker ha install error: network is unreachable. why?

Hi! I have installed debian 10 and cinnamon. Installed docker.
And have error at last step of official instruction
(from there:

), when trying to execute this command:

curl -sL "https://raw.githubusercontent.com/Kanga-Who/home-assistant/master/supervised-installer.sh" | bash -s
Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on 192.168.1.1:53: dial udp 192.168.1.1:53: connect: network is unreachable

can you please advice what to do with an connection error?

curl -Lo installer.sh https://raw.githubusercontent.com/home-assistant/supervised-installer/master/installer.sh
bash installer.sh