• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
netPI as USB-Device-Server based on raspbian
#27
Yes correct, using network = host makes mapping ports obsolete. But using the host mode has disadvantages if you want to run multiple containers of the same type at the same time. If they all use a port 1000 for example they cannot be driven in host mode. With mapping you can set one container to 1000:1000 the other to 1001:1000 and so on. So my recommendation is, if you can avoid it, then do not use host mode.

Then to your question about how to copy an image. You have to know that the concept of netPI is to be a Docker Host only. This means at the current stage, netPI can only start ready-to-use/pre-developed containers and it is no development platform. So you need a Docker registry where you can pull your ready images from for all your netPI's in use. We decided to push all our example images to Docker Hub where everybody can pull the images from. You can do the same. We use the Docker Hub public mode for free. You can create your own Registry in 5 minutes on Docker Hub too and pull you image from there on all netPIs you want to use in future.

Our examples images are based on github projects that are related to the corresponding Docker Hub repository. You can do it differently: use a standard Raspberry Pi, develop the image there and push it to Docker hub with no source code. Then you can load it from there on all your netPI's.
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply


Messages In This Thread
Answer - by FrankJacob - July-3rd-2018, 09:49 AM
Answer - by Armin@netPI - July-3rd-2018, 10:32 AM
Answer - by Armin@netPI - July-3rd-2018, 10:36 AM
Answer - by Armin@netPI - July-3rd-2018, 10:42 AM
Answer - by FrankJacob - July-3rd-2018, 10:45 AM
Answer - by FrankJacob - July-3rd-2018, 10:53 AM
Answer - by Armin@netPI - July-3rd-2018, 11:15 AM
Answer - by Armin@netPI - July-3rd-2018, 11:59 AM
Answer - by FrankJacob - July-3rd-2018, 12:27 PM
Answer - by FrankJacob - July-3rd-2018, 12:48 PM
Answer - by Armin@netPI - July-3rd-2018, 01:20 PM
Answer - by Armin@netPI - July-3rd-2018, 01:24 PM
Answer - by Armin@netPI - July-3rd-2018, 01:39 PM
Answer - by FrankJacob - July-3rd-2018, 01:59 PM
Answer - by Armin@netPI - July-3rd-2018, 02:00 PM
Answer - by FrankJacob - July-3rd-2018, 05:50 PM
Answer - by Armin@netPI - July-4th-2018, 06:50 AM
Answer - by FrankJacob - July-4th-2018, 07:41 AM
Answer - by FrankJacob - July-4th-2018, 08:13 AM
Answer - by Armin@netPI - July-4th-2018, 08:30 AM
Answer - by FrankJacob - July-4th-2018, 09:03 AM
Answer - by Armin@netPI - July-4th-2018, 09:15 AM
Answer - by FrankJacob - July-4th-2018, 07:30 PM
Answer - by Armin@netPI - July-5th-2018, 06:46 AM
Answer - by FrankJacob - July-5th-2018, 08:29 AM
Answer - by Armin@netPI - July-5th-2018, 10:13 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  netPI opc ua server pull image error wswitula 3 3,114 August-27th-2021, 10:47 AM
Last Post: wswitula
  OPC UA server with NetPi RTE DSongra 9 4,213 July-27th-2021, 12:01 PM
Last Post: Armin@netPI
  REST API server data communication MGharat 2 2,442 July-21st-2021, 07:01 AM
Last Post: MGharat
  [SOLVED]DHCP server not working m-yoshikawa 24 13,629 June-11th-2021, 07:04 AM
Last Post: tad
  Raspbian OS version of the latest hilschernetpi/netpi-raspbian tad 2 2,259 March-5th-2021, 11:25 AM
Last Post: tad
  missing the menu items from IO Device Configurator tad 5 3,221 November-20th-2020, 07:41 AM
Last Post: Armin@netPI
  netPI profinet device name WalterSchaefer 2 2,491 October-7th-2020, 11:10 AM
Last Post: WalterSchaefer
  Accessing a modbus device connected to RTE port from Node-RED tad 10 7,908 October-2nd-2020, 07:21 AM
Last Post: Armin@netPI
  how to pick up PROFINET data and store them to OPC UA server on Node-RED/netPI. tad 7 5,584 March-16th-2020, 10:21 AM
Last Post: Armin@netPI
  PM - develope OPC UA Server using the Codesys Lingyue 5 4,016 January-17th-2020, 11:12 AM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 1 Guest(s)