Docker Community Forums

Share and learn in the Docker community.

ERROR: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on [::1]:53: read udp [::1]:35711->[::1]:53: read: connection refused

hi,
I installed docker on Android and sudo docker version works fine and shows Client and Server available. but any kind of command , such as hello-world, pull, push, build, etc returns me this error.
this is my command
sudo docker build -t img1 .
ERROR: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on [::1]:53: read udp [::1]:35711->[::1]:53: read: connection refused

  • i am working on Android and do not have systemd, systemctl to start restart service, i used dockerd to start daemon and it started with no error
  • i am not sure if there is any firewall proxy on android, how can i evaluate it?

please help me i really need it