Image that has as a base image the Raspbian Bullseye OS and has installed Picamera2 & python.
1.5K
Docker image with a base Image Raspbian Bullseye and has installed python and PiCamera2.
You can always build the image on your own, the Dockerfile and docker-compose is available on Githhub:
docker build -t raspbian-picamera2 .
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
Content type
Image
Digest
sha256:9ece9dd20…
Size
427.6 MB
Last updated
almost 4 years ago
docker pull benchpilot/raspbian-picamera2