This image is part of the resin.io base image series for IoT devices. The image is optimized for use with resin.io and resinOS, but can be used in any Docker environment running on the appropriate architecture.
What is resin.io?
Resin.io is the simplest way to build, deploy, and manage containers on a fleet of connected devices. Resin.io brings a modern developer workflow to the Internet of Things, enabling rapid innovation at every stage and scale of your project.
Supported tags and respective
For more information about this image and its history, please see the relevant manifest file (
resin/raspberry-pi2-python) in the
resin-io-library/official-images GitHub repo.
What is raspberry-pi2-python?
The Python buildpack image for Python apps for Raspberry Pi 2.
How to use this image
Systemd can be enabled by adding
ENV INITSYSTEM on to your Dockerfile below the
FROM <Docker image> line. This will trigger systemd init system on the Docker image.
Dockerfile in your python app project
FROM resin/raspberry-pi2-python:latest # Enable systemd ENV INITSYSTEM on # Your code goes here
You can then build and run the Docker image:
docker build -t my-app . docker run -it --rm --name my-running-app my-app
View license information for the software contained in this image.
Supported Docker versions
This image is officially supported on Docker version 17.05.0-ce.
Support for older versions (down to 1.0) is provided on a best-effort basis.
If you have any problems with or questions about this image, please contact us through a GitHub issue.
You are invited to contribute new features, fixes, or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.
Before you start to code, we recommend discussing your plans through a GitHub issue, especially for more ambitious contributions. This gives other contributors a chance to point you in the right direction, give you feedback on your design, and help you find out if someone else is working on the same thing.
Documentation for this image is stored in the base images documentation. Check it out for list of all of our base images including many specialised ones for e.g. node, python, go, smaller images, etc.