Hilscher Community Forum
Creating a container - 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: Creating a container (/thread-568.html)



Creating a container - Linnerz - March-5th-2020

I have been trying to create a container for the last hour but I keep getting the same error. 
Can anyone assist me or tell me what I might have done wrong.

I tried to pull the Image in general but could not work either.


RE: Creating a container - Armin@netPI - March-5th-2020

It seems your netPI requests from Docker can’t reach the Docker Hub web site. Are you behind a firewall maybe?
How about the NTP time setting in the system menu of netPI? Does your netPI get the system time? Just for a short test.
Thx
Armin


RE: Creating a container - Linnerz - March-5th-2020

(March-5th-2020, 01:45 PM)Armin@netPI Wrote: It seems your netPI requests from Docker can’t reach the Docker Hub web site. Are you behind a firewall maybe?
How about the NTP time setting in the system menu of netPI? Does your netPI get the system time? Just for a short test.
Thx
Armin

Time is setup as normal.
Connected to wifi, tried changing many settings and have a new current error


RE: Creating a container - Armin@netPI - March-5th-2020

Please pay attention if you have configured WiFi and LAN the same time. If both connections have a gateway configured it will never work. If WiFi is your primary network then remove gateway address in LAN setup, else Linux does not know where to route the internet data to


RE: Creating a container - Linnerz - March-5th-2020

(March-5th-2020, 06:55 PM)Armin@netPI Wrote: Please pay attention if you have configured WiFi and LAN the same time. If both connections have a gateway configured it will never work. If WiFi is your primary network then remove gateway address in LAN setup, else Linux does not know where to route the internet data to

It is only connected through LAN. but still the same error occurs.


RE: Creating a container - Linnerz - March-6th-2020

(March-5th-2020, 08:09 PM)Linnerz Wrote:
(March-5th-2020, 06:55 PM)Armin@netPI Wrote: Please pay attention if you have configured WiFi and LAN the same time. If both connections have a gateway configured it will never work. If WiFi is your primary network then remove gateway address in LAN setup, else Linux does not know where to route the internet data to

It is only connected through LAN. but still the same error occurs.

I think the problem is with the Docker service on the control panel. I searched that all steps were done correctly but I have this message under service.


RE: Creating a container - Armin@netPI - March-6th-2020

No there is something wrong with your internet connection. Did you try just to use LAN interface first without the use of WiFi. Maybe you have a standard raspberry pi to compare. Then you could install Docker manually under Raspbian OS and call a Docker pull command of your container to check internet presence and if the port is open to Docker Hub. Are you in a home network or in a office network?