I tried to build a docker file on Windows OS. But i got this instead.
muhammad.iqbal@IQBAL MINGW64 /d/DockerTest
$ docker build .
Sending build context to Docker daemon 73.36 MB
Step 1/3 : FROM php:7.1.27-apache
Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on 192.168.65.1:53: no such host
I have tried to restart and relaunch docker application but nothings change. i have read this and this. but it's on LInux OS, but how to do it on Windows OS.
Okay so just like Pierre B. comment, at the time of that issue, i was using my office's VPN. So it's pretty simple, just turn of the VPN and tried to pull it again.
But i don't know what's the reason unable to pull any images when i am using the office's VPN.