sergeycherepanov / homebrew-docker-virtualbox

Docker workaround for Ryzentosh (AMD based Hackintosh)
209 stars 20 forks source link

Network error after docker-machine-init initialize #32

Open jmichaelbarker opened 2 years ago

jmichaelbarker commented 2 years ago

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 commented 2 years ago

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.