• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[INFO] Best base image to use for own containers
#1
Any container image is based on a parent image as described here. You can build your own base image or use already published ones.

We really appreciate the work of company Resin.io in generating loads of Docker base images for different hardware platforms. One of their public repositories on Docker Hub named armh7f-debian is compiled for armv7hf architecture based platforms and delivers seamless compatibility with Raspberry Pi 2/3 respectively netPI.

Company Resin.io is very active in providing latest images of released versions of debian whenever they come out and all their images support cross build of ARM code on x86 machines allowing automated builds on Docker Hub. This is why we feel your are in good hands using their offerings and recommend to use the Debian:jessie image as base image for your work. Also we use it as basis for most of our example netPI Docker images provided here.

Since netPI is not offering SSH connectivity the Docker CLI cannot be used. Instead a Pi 3 have to be used for developing netPI Docker images.

This command pulls the latest Debian:jessie image onto your Pi 3:

docker pull resin/armv7hf-debian:jessie

This command starts a container from the image and jumps into a bash shell:

docker run -ti --entrypoint=/bin/bash resin/armv7hf-debian:jessie
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply
#2
Company resin.io changed its name to balena and also all repositories under https://hub.docker.com/u/resin/ are deprecated.

Instead you can find them now under https://hub.docker.com/u/balenalib.

Example: To load the latest debian:stretch image onto your netPI specify it as balenalib/armv7hf-debian:stretch
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Launching multi-containers at a time - Docker stacks Armin@netPI 0 18 June-4th-2019, 04:11 PM
Last Post: Armin@netPI
  [INFO]Docker DNS server Armin@netPI 0 17 March-7th-2019, 09:02 AM
Last Post: Armin@netPI
  [SOLVED] node-red Dashboard Docker Image for netPI? anrodriguez 1 22 February-7th-2019, 05:35 PM
Last Post: Armin@netPI
Heart [INFO] TeamViewer comes to netPI Armin@netPI 0 20 February-4th-2019, 04:41 PM
Last Post: Armin@netPI
Information [INFO] Setting the correct timezone in a container Armin@netPI 0 10 February-3rd-2019, 08:23 AM
Last Post: Armin@netPI
  Setup trusted Docker registry on a Raspberry Pi to host netPI containers Armin@netPI 12 632 January-31st-2019, 06:47 PM
Last Post: Armin@netPI
  [SOLVED] nodered : flows_localhost deleted after creating an image from container paubau 6 186 September-21st-2018, 10:19 AM
Last Post: paubau
  "node-red with NIOT-E-NPIX-EVA GPIO module" Docker image Eyad.Almolki 1 147 July-30th-2018, 06:22 PM
Last Post: Armin@netPI
  [SOLVED] "Image unavailable" “no such image” message during deploy Armin@netPI 3 113 March-15th-2018, 04:47 PM
Last Post: kwapphiell
  Using SSH in netPI-nodered-fieldbus image Schranz 3 129 March-6th-2018, 06:29 PM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 1 Guest(s)