Sign inSign up

benchpilot/raspbian-picamera2

By benchpilot

•Updated over 3 years ago

Image that has as a base image the Raspbian Bullseye OS and has installed Picamera2 & python.

Image
1

1.5K

benchpilot/raspbian-picamera2 repository overview

⁠Docker Image for PiCamera2 (Using Raspbian Bullseye)

Docker image with a base Image Raspbian Bullseye⁠ and has installed python and PiCamera2⁠.

⁠Build Image

You can always build the image on your own, the Dockerfile and docker-compose is available on Githhub⁠:

docker build -t raspbian-picamera2 .

⁠How to run

Inside the image there is also a main.py which captures a picture. So all you need to do is to run the following commands:

To start the container with docker compose:

docker run -d -v /run/udev:/run/udev --privileged --device=/dev/vchiq:/dev/vchiq benchpilot/raspbian-picamera2:latest sleep infinity

To get into the container with bash:

docker exec -it <container-id> bash 

To execute the python code and capture an image:

python3 main.py

Tag summary

Content type

Image

Digest

sha256:9ece9dd20…

Size

427.6 MB

Last updated

almost 4 years ago

docker pull benchpilot/raspbian-picamera2