• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] Portainer does not start container

I´m trying to start a container on Portainer, but I get the ERROR message "No such image: hilschernetpi/example : latest".
I followed the whole instructions on hub.docker.com, but it does not work.
Maybe their is an Internet problem?
I connected my netPI to a hotspot from my phone to get Internet access so I can pull images. How can I check if I have Internet access. I only can see that the netPI is connected.

Thanks in advance
Two things have been discussed very often:

1.) First of all make sure you set the system time correctly (manually or via NTP). Else time differences between netPI's system time and the DockerHub time prevents loading an image
2.) Pulling from Docker Hub goes across port 5000. If you are behind a firewall not allowing a pull across port 5000 then pulling an image will not work. I had this case already recognized by on of the netPI user. After he released the port 5000, everything worked fine
3.) make sure you have written the image you want to pull correctly: for example I don't know the image "hilschernetpi/example : latest" you are referring to as well. So for me "No such image" is correct in my eyes. I know an image "hilschernetpi/netpi-nodered-fieldbus" for example.

You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

I have also ran into this issue (after setting the time, checking for port 5000 and copy/paste from the readme).

I was able to start the container only after I went to /portainer/#/images/ and pulled the image before attempting to create/start the container.

Is that correct, or should you be able to create a container without a local image? Is there a timeout issue with pulling the image when creating the container?

Thank you
Hi Steve,

pulling the image on a Raspberry Pi 3B CPU (on netPI then also) takes longer than on other CPUs. This is because of the bottleneck (serial interface) between the CPU and the SD card used as memory storage and the small cache the CPU owns. Also it depends on the traffic that is ongoing on Docker hub, if you pull an image from there. Then also it has influences if you have Containers actively running already and of course it depends on how big your image is. All those parameters influence the Container load time.

Additionally I have a remark that since firmware we improved the load time by removing a permanent logging of internal Docker messages. Please verify that you have this firmware or higher actively running on your netPI.

If you want to get rid of depencencies from Docker Hub, I recommend to set up a local registry anyway. Then at least this timing is constant.

And if I would summarize my experience till today I would say that seeing this timeout is rare and that starting a container with implicit pull works in 95% of all cases. The timeout is not caused by Docker running on netPI by the way, but due to a Web-Browser <-> portainer.io timeout.
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)


Possibly Related Threads...
Thread Author Replies Views Last Post
  docker.service start failed EUROKEY 6 26 February-6th-2020, 09:49 AM
Last Post: EUROKEY
  [SOLVED] activate LED1/2 with Node-RED + fieldbus nodes container Christian_Rau 6 95 October-21st-2019, 10:30 AM
Last Post: Armin@netPI
  Cannot start container Magnus 7 41 October-16th-2019, 01:00 PM
Last Post: Armin@netPI
  Generate VLAN interfaces in container FrankJacob 7 46 September-26th-2019, 03:19 PM
Last Post: Armin@netPI
  create container in Portainer v1.12.4 dcatteeu 2 24 September-9th-2019, 12:12 PM
Last Post: dcatteeu
  UMTS/LTE support via USB router/modem sticks in a container Armin@netPI 3 157 September-5th-2019, 02:07 PM
Last Post: Armin@netPI
  Exporting and importing container images Armin@netPI 0 27 August-23rd-2019, 10:39 AM
Last Post: Armin@netPI
  Ready-to-deploy: full featured Node-RED container Armin@netPI 5 81 July-25th-2019, 06:16 AM
Last Post: Armin@netPI
  New Container example "OPC UA server" Armin@netPI 0 25 April-12th-2019, 11:51 AM
Last Post: Armin@netPI
  Official Node-RED container Armin@netPI 0 20 April-5th-2019, 10:39 AM
Last Post: Armin@netPI

Forum Jump:

Users browsing this thread: 1 Guest(s)