cyberkernelofficial / docker-in-termux

This repository contains instructions on how to install Docker in Termux, without root.
MIT License
253 stars 23 forks source link

Can't reach the registry #14

Closed MrBreadBoard closed 4 months ago

MrBreadBoard commented 4 months ago

Good day

I managed to follow the instructions and install docker yesterday. Everything was working fine and I even got hello-world to work. but today I keep getting this error every time I try to search or pull an image.

docker: Error response from daemon: Get "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.docker.io on 8.8.8.8:53: read udp 10.0.2.15:36190->8.8.8.8:53: i/o timeout.

MrBreadBoard commented 4 months ago

Sorry I caught the issue 😅

I tried running apt update and I got a message that it's not found.

I realized I needed to run this part again:

`echo "nameserver 8.8.8.8" > /etc/resolv.conf

echo "nameserver 8.8.4.4" >> /etc/resolv.conf`

Now docker can reach the registry again 👍