Advertisement
AlexanderGson

Troubleshooting - Docker Intel NUC Ubuntu

Aug 20th, 2019
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.64 KB | None | 0 0
  1. ------------------------------
  2. Platform/OS
  3. ------------------------------
  4.  
  5. Ubuntu 19.04
  6.  
  7. ------------------------------
  8. Description
  9. ------------------------------
  10.  
  11. When trying to pull images from the Docker registry docker using the following command:
  12.  
  13. "docker run --init -d --name="home-assistant" -e "TZ=Europe/Stockholm" -v /usr/share/hassio/homeassistant:/config --net=host homeassistant/intel-nuc-homeassistant:latest"
  14.  
  15. I recieve the error:
  16.  
  17. "Unable to find image 'homeassistant/intel-nuc-homeassistant:latest' locally
  18. 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."
  19.  
  20. 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.
  21.  
  22. ------------------------------
  23. Steps to Reproduce
  24. ------------------------------
  25.  
  26. Reinstalled Docker using "sudo apt-get install --reinstall docker-ce", latest Docker-CE version 19.03.2-beta1 installs.
  27.  
  28. 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
  29.  
  30. ------------------------------
  31. Actual Results
  32. ------------------------------
  33.  
  34. "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."
  35.  
  36. ------------------------------
  37. Expected Results
  38. ------------------------------
  39.  
  40. Expected results should be that Docker downloads the latest Home assistant and I should be able to see it in my setup Portainer.
  41.  
  42. ------------------------------
  43. Troubleshooting so far
  44. ------------------------------
  45.  
  46. 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.
  47. Tried to download the container directly in Portainer, same error.
  48. Tried downloading the container using a different unit in the LAN, my NAS. Could succesfully download it.
  49. I suspect it might be some DNS error or port forward error. Removed all port forwards to my Ubuntu server, no difference in results.
  50. Can't change my DNS nameserver in resolv.conf since it's managed by a NetworkManager. Can't find documentation to troubleshoot DNS further.
  51.  
  52. Documentation for how to download Home Assistant is located here: https://www.home-assistant.io/docs/installation/docker/
  53. 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