docker build . -t raspi2png:dev
Using Docker Compose
---
version: "2.1"
services:
raspi2png:
container_name: raspi2png
image: raspi2png:dev
restart: always
volumes:
- /opt/vc:/opt/vc
- /media/ssd256/monitoring:/export
devices:
- /dev/vchiq
Mount your folder for storing screenshots to /export folder of container