• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] Building Custom Images for Netpi
#2
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 to run the software securely and not a development platform. So it is a fair offer to have a standard Rpi3 as development platform and then a netPI for the software deployment 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
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  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,307 May-20th-2020, 11:24 AM
Last Post: COswald
  [SOLVED] netPI with Raspbian Desktop firefly 8 6,099 November-28th-2019, 06:01 PM
Last Post: Armin@netPI
  [SOLVED] Help with fieldbus node Farani 5 4,211 August-20th-2019, 07:22 AM
Last Post: Armin@netPI
  [SOLVED] How to update firmware philippbruhin.ch 12 9,782 July-16th-2019, 11:20 AM
Last Post: patrick
  [SOLVED] Docker issues AlexRegev 7 5,486 June-26th-2019, 02:14 PM
Last Post: AlexRegev
  [SOLVED] netPI stops working (502 - Bad Gateway) Andi 3 3,783 June-19th-2019, 03:58 PM
Last Post: Andi
  [SOLVED] WebConfig netpi-nodered-fieldbus JohnyD94 13 8,499 May-6th-2019, 12:20 AM
Last Post: JohnyD94
  [SOLVED] Diagnostic service MGharat 1 2,044 April-2nd-2019, 09:45 PM
Last Post: Armin@netPI
  [SOLVED] NPIX-DIDO MGharat 2 6,419 March-13th-2019, 06:06 AM
Last Post: MGharat
  [SOLVED] node-red Dashboard Docker Image for netPI? anrodriguez 1 3,076 February-7th-2019, 05:35 PM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 1 Guest(s)