• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] Building Custom Images for Netpi
#3
(December-15th-2018, 08:14 AM)Armin@netPI Wrote: Dear Rahulsagar,

the story about netPI is special ... we tell customer indeed to collect experience with Docker and building own containers and starting/testing the software on a standard Rpi3 (at $30cost) and then if all the software has been passed the tests to buy a professional netPI afterwards which is a Docker Host only and not development platform to run the software securely. So it is a fair offer to have a Rpi3 as development platform and a netPI for a software deploy later, don't you think.

Now back to your question how to develop containers for netPI. First rule: for pulling images from somewhere you need in all cases a registry server.

1. First method is to host your container on Docker hub registry server ... like we as Hilscher do it with all the example containers like the HDMI for example. You can create an own repository in minutes there. If you like you can link the repository to a github source pool containing the Docker buildscript "Dockerfile" and then Docker hub is able to build a container directly on the web automated. Of course this makes all the sources open and is not always what is intended

2. Second method is creating an own trusted registry server locally on a Linux machine. How to do that is described here: https://docs.docker.com/registry/deploying/. You can also host a registry server on a Raspberry Pi ... how to do that is described in the forum here step by step: https://forum.hilscher.com/thread-291.html.

So a Rpi can be the development platform and a registry server all in one device. Once you have a registry server running on a Rpi you can just call "docker push" to push your container on the same machine you developed it on and then netPI is able to pull it from there. On latest software version of netPI you can directly setup registries in terms of ip address, names and password if required next of the default registry "DockerHub". For a trusted Registry it is necessary to install the certificates on netPI, else netPI will not pull anything.

Thx
Armin

Dear Sir,

Thank You for the response and I will try as you suggested..Thanks for the supporting links....
  Reply


Messages In This Thread
[SOLVED] Building Custom Images for Netpi - by Rahulsagar - December-14th-2018, 03:12 PM
RE: Building Custom Images for Netpi - by Armin@netPI - December-15th-2018, 08:14 AM
RE: Building Custom Images for Netpi - by Rahulsagar - December-17th-2018, 10:01 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Exporting and importing container images Armin@netPI 3 3,193 May-20th-2020, 11:24 AM
Last Post: COswald
  [SOLVED] netPI with Raspbian Desktop firefly 8 5,877 November-28th-2019, 06:01 PM
Last Post: Armin@netPI
  [SOLVED] Help with fieldbus node Farani 5 4,046 August-20th-2019, 07:22 AM
Last Post: Armin@netPI
  [SOLVED] How to update firmware philippbruhin.ch 12 9,432 July-16th-2019, 11:20 AM
Last Post: patrick
  [SOLVED] Docker issues AlexRegev 7 5,295 June-26th-2019, 02:14 PM
Last Post: AlexRegev
  [SOLVED] netPI stops working (502 - Bad Gateway) Andi 3 3,643 June-19th-2019, 03:58 PM
Last Post: Andi
  [SOLVED] WebConfig netpi-nodered-fieldbus JohnyD94 13 8,177 May-6th-2019, 12:20 AM
Last Post: JohnyD94
  [SOLVED] Diagnostic service MGharat 1 1,974 April-2nd-2019, 09:45 PM
Last Post: Armin@netPI
  [SOLVED] NPIX-DIDO MGharat 2 6,182 March-13th-2019, 06:06 AM
Last Post: MGharat
  [SOLVED] node-red Dashboard Docker Image for netPI? anrodriguez 1 2,998 February-7th-2019, 05:35 PM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 1 Guest(s)