Hilscher Community Forum
[SOLVED] "Image unavailable" “no such image” message during deploy - Printable Version

+- Hilscher Community Forum (https://forum.hilscher.com)
+-- Forum: netPI 3 - Docker featuring Industrial Raspberry Pi 3 platform (https://forum.hilscher.com/forum-1.html)
+--- Forum: Software (https://forum.hilscher.com/forum-5.html)
+--- Thread: [SOLVED] "Image unavailable" “no such image” message during deploy (/thread-258.html)



[SOLVED] "Image unavailable" “no such image” message during deploy - Armin@netPI - October-28th-2017

KWhenever an image is loaded from Docker Hub a certificate is exhanged between the device that pulls the image and the Docker site. This is because of security reasons. The certificate contains next to others also an information about when it was created and until it is valid. During the pulling process Docker Hub compares these times against its system time to release an image or not.

If now the expiration time - even if it is just a second - is in the past and signals the image certificate has expired an image cannot be loaded. So on netPI the same scenario happens if netPI's system time is not set up right and different to the actual time Docker Hub is referencing on ... an "image unavailable" message is reported in this case although available on Docker Hub. So make sure you manually set netPI's time correctly or setup an NTP server keeping an eye on the system time automatically.


Answer - kwapphiell - March-9th-2018

Our setup....
netPI Firmware 1.1.0.0
Status: Synchronized to time server 131.130.250.250:123 (ts1.univie.ac.at).
Timezone: Europe/Vienna
Portainer v1.12.4
problem installing "any" container like "hilschernetpi/netpi-raspbian" results in "No such image: hilschernetpi/netpi-raspbian:latest"

Our testnetwork is connected over an tp-link 4G lte-router to the internet.
Ideas ?


Answer - Armin@netPI - March-9th-2018

Well Docker will pull by default from Docker hub across port 5000. Maybe this port isn't allowed to be sent data across in your router.
Do you use a DHCP ip address setting? Or have you configured a static IP address?

Also a question is if you have a Raspberry Pi 3 in the same network where you can call "docker pull hilschernetpi/netpi-raspbian" manually. It will show the same effect, I am pretty sure.


Answer - kwapphiell - March-15th-2018

This was the solution - thank you!