Can't get camera working with docker and octoprint

Hi,

I'm struggling to get the webcam working when using docker and octoprint (the same webcam works flawlessly with octopi). One webcam is located under /dev/video0 and the other one under /dev/video2. It should work according to the docs but I don't get any video. The instances of octoprint are workig and are able to connect to the machines. Just no webcam image from any of the cameras.

I'm using stock raspbian lite 64bit and portainer. Is there maybe some dependency missing?

Here's my docker compose file:

version: '2.4'
services:
  flashforge:
    image: octoprint/octoprint
    restart: unless-stopped
    ports:
      - 5000:5000
    devices:
      - /dev/ttyUSB0:/dev/ttyUSB0
      - /dev/video0:/dev/video0
    volumes:
      - /root/octoprint/flashforge:/octoprint
    environment:
      - ENABLE_MJPG_STREAMER=true
      - CAMERA_DEV=/dev/video0
  sculpfun:
    image: octoprint/octoprint
    restart: unless-stopped
    ports:
      - 5001:5000
    devices:
      - /dev/ttyACM0:/dev/ttyACM0
      - /dev/video2:/dev/video2
    volumes:
      - /root/octoprint/sculpfun:/octoprint
    environment:
      - ENABLE_MJPG_STREAMER=true
      - CAMERA_DEV=/dev/video2

Thanks a lot!