hassio-installer
hassio-installer copied to clipboard
Could not resolve host: get.docker.com
Script failed at
Installing Docker...
curl: (6) Could not resolve host: get.docker.com
Edit: Using 2018-04-18-raspbian-stretch-lite
on a RPi 3B+ booting in headless mode connecting via wifi (using the wpa_supplicant.conf
file method).
RPi not responding to SSH, so might be PSU issue or network.
This does sound like a network related issue that is not caused by the script itself.
I was able to reach that site with my Mac, so not a firewall issue. RPi won't boot now, so starting from scratch again. Everything was fine up to that line, so I'm thinking my PSU might've been marginal in terms of supplying enough current and I was using Wifi. Will try with Ethernet next as well.
I'm still getting the same issue - different PSU (but still on wifi) and failed at the same spot.
I'm using CloudFlare DNS (1.1.1.1), so not sure if that is an issue but I can resolve the host on other machines, so maybe Stretch lite is doing something strange with DNS?
Edit: re-imaged SD card and before running script tested DNS/network:
pi@raspberrypi:~ $ ping get.docker.com
PING d3vuzgspmaykda.cloudfront.net (54.230.135.146) 56(84) bytes of data.
64 bytes from server-54-230-135-146.syd1.r.cloudfront.net (54.230.135.146): icmp_seq=1 ttl=242 time=30.6 ms
64 bytes from server-54-230-135-146.syd1.r.cloudfront.net (54.230.135.146): icmp_seq=2 ttl=242 time=31.0 ms
Edit-2: Re-ran on ethernet and script ran to completion. I'm guessing that wifi is the issue and that the docker container cannot access network via the host OS.
Same. Could not resolve host : get.docker.com when using WiFi.
Reflashed, connected to ethernet (after only enabling SSH, not WiFi), and it worked.
Sadly i can’t use ehternet...any workaround?
Added a PR to document this issue in the README.