After setting up the machine, I'm getting the following error:
$ docker run -d -p 8989:80 nginx && curl -v localhost:8989
Unable to find image 'nginx:latest' locally
docker: Error response from daemon: Get https://registry-1.docker.io/v2/library/nginx/manifests/latest: Get https://auth.docker.io/token?scope=repository%3Alibrary%2Fnginx%3Apull&service=registry.docker.io: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers).
See 'docker run --help'.
* Trying 127.0.0.1:8989...
* connect to 127.0.0.1 port 8989 failed: Connection refused
* Trying ::1:8989...
* connect to ::1 port 8989 failed: Connection refused
* Failed to connect to localhost port 8989 after 4 ms: Connection refused
* Closing connection 0
curl: (7) Failed to connect to localhost port 8989 after 4 ms: Connection refused
$
After setting up the machine, I'm getting the following error:
What can I do to try to resolve this?