Hilscher Community Forum
[INFO] Best base image to use for own containers - 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: [INFO] Best base image to use for own containers (/thread-280.html)



[INFO] Best base image to use for own containers - Armin@netPI - December-15th-2017

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


RE: Best parent image to use for own containers - Armin@netPI - January-15th-2019

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