Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Network error after docker-machine-init initialize #32

Open
jmichaelbarker opened this issue May 25, 2022 · 1 comment
Open

Network error after docker-machine-init initialize #32

jmichaelbarker opened this issue May 25, 2022 · 1 comment

Comments

@jmichaelbarker
Copy link

jmichaelbarker commented May 25, 2022

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
$

What can I do to try to resolve this?

@sergeycherepanov
Copy link
Owner

Hi, @jmichaelbarker,

Looks like you have an issues with network, Docker did not downloaded nginx image from the registry.

Also please add more details about your system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants