Lookup index.docker.io: no answer from server

TL;DR: Try restarting your docker virtual machine. I recently encountered this issue when doing a docker push :

I had just switched from my home to my work networks, and noticed that the IP address that it mentioned was that of Continue reading