Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ------------------------------
- Platform/OS
- ------------------------------
- Ubuntu 19.04
- ------------------------------
- Description
- ------------------------------
- When trying to pull images from the Docker registry docker using the following command:
- "docker run --init -d --name="home-assistant" -e "TZ=Europe/Stockholm" -v /usr/share/hassio/homeassistant:/config --net=host homeassistant/intel-nuc-homeassistant:latest"
- I recieve the error:
- "Unable to find image 'homeassistant/intel-nuc-homeassistant:latest' locally
- docker: Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on [::1]:53: read udp [::1]:44097->[::1]:53: read: connection refused."
- However I can succesfully complete "docker run hello-world" without errors and I can see in my Portainer that Docker did pull and start a container for that.
- ------------------------------
- Steps to Reproduce
- ------------------------------
- Reinstalled Docker using "sudo apt-get install --reinstall docker-ce", latest Docker-CE version 19.03.2-beta1 installs.
- In the terminal, pull an image from the Docker registry using the command from the above description. To download Home Assistant for Intel Nuc and save it in /usr/share/hassio/homeassistant:/config
- ------------------------------
- Actual Results
- ------------------------------
- "docker: Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on [::1]:53: read udp [::1]:44097->[::1]:53: read: connection refused."
- ------------------------------
- Expected Results
- ------------------------------
- Expected results should be that Docker downloads the latest Home assistant and I should be able to see it in my setup Portainer.
- ------------------------------
- Troubleshooting so far
- ------------------------------
- I've troubleshot if there is something wrong with my Docker and I did find out that reverse lookup wasn't working. Fixed with a fresh reinstall of Docker.
- Tried to download the container directly in Portainer, same error.
- Tried downloading the container using a different unit in the LAN, my NAS. Could succesfully download it.
- I suspect it might be some DNS error or port forward error. Removed all port forwards to my Ubuntu server, no difference in results.
- Can't change my DNS nameserver in resolv.conf since it's managed by a NetworkManager. Can't find documentation to troubleshoot DNS further.
- Documentation for how to download Home Assistant is located here: https://www.home-assistant.io/docs/installation/docker/
- This is the version for Intel NUC: https://hub.docker.com/r/homeassistant/intel-nuc-homeassistant
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement