docker / kitematic

Visual Docker Container Management on Mac & Windows
https://kitematic.com
Apache License 2.0
12.25k stars 1.41k forks source link

Can't download CS50-ide offline #3426

Open jambrew opened 6 years ago

jambrew commented 6 years ago

Expected behavior

Download and then operation via Docker

Actual behavior

Download fails... error message displayed after a couple of seconds of download attempt: (HTTP code 500) server error - {"message":"Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on 192.168.65.1:53: read udp 192.168.65.2:45951->192.168.65.1:53: i/o timeout"}

Information about the Issue

I also received errors when trying to follow advice from CS50 about installing the offline editor directly via terminal inputs once Docker was installed. These errors (below) led me to try via Kite as was recommended on forums online.

Terminal window error: James$ docker run -e "OFFLINE_IP=$(docker-machine ip default)" -e "OFFLINE_PORT=8080" --name cs50ide -d -p 5050:5050 -p 8080:8080 cs50/ide50-offline Docker machine "default" does not exist. Use "docker-machine ls" to list machines. Use "docker-machine create" to add a new one. Unable to find image 'cs50/ide50-offline:latest' locally docker: Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on 192.168.65.1:53: read udp 192.168.65.2:56920->192.168.65.1:53: i/o timeout. See 'docker run --help'.

Steps to reproduce the behavior

  1. ...
  2. ...
FrenchBen commented 6 years ago

Looking at the ip you provided during the error, it seems that you're using Docker for Mac. If that's the case, I don't see how docker-machine ip default is going to work for you. What happens when you do: docker pull cs50/ide50-offline:latest