So I got to know about Azure and I want to run a nodejs file in VM. I know the steps on how to deploy the nodejs in Digital Ocean, and It worked fine. I tried to follow the same steps but seems like there were some issues while pulling images from docker.
I followed this tutorial in order to install docker in my VM. But it seems like there is an issue:
Error response from daemon: Get "https://registry-1.docker.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
on running sudo docker pull hello-world
while the same error is occuring on docker-compose
(This is just an example, I want to run docker-compose but It gave the same error)
I tried running all the solutions that I found but all didn't help. Is there anyone else who has created a vm in azure and came across this issue and fixed it?
I found about 5-6 links with the same question but none of the answers fixed my problem :(
I created a Linux VM with the help of this tutorial