Getting Error when pulling image from docker hub

Hi everyone , i got the fix for all issues related to docker not pulling img and timeout . Just do these steps :

sudo rm /etc/resolv.conf

echo -e “nameserver 8.8.8.8\nnameserver 1.1.1.1” | sudo tee /etc/resolv.conf

sudo systemctl restart docker

After running those 3 commands docker will start working fine and the dns resolve issue will gone. Try pulling an image and see ! :smiley:

The Solve this issue Just Change the DNS Manually ( Wi-Fi or Ethernet ) With This :
8.8.8.8 or 8.8.8.4 .