Public Repository

Last pushed: a year ago
Short Description
MJPG-Streamer container for Webcam(UVC) MJPG streaming with Raspberry-Pi (2)
Full Description

To run:

  1. Connect USB webcam (capable of MJPG) to Raspbery Pi (2)
  2. open terminal to the raspberry pi.
  3. make sure that /dev/video0 device exists. ls /dev/video0
  4. run docker run -p 8080:8080 -v /dev:/dev --privileged mhamanaka/rpi-mjpg-streamer-uvc:0.1

Once the server started, you can access basic functionalities with browsers via 8080 port.
ex: http://raspberrypi.local:8080

To get mjpeg stream:
ex: http://raspberrypi.local:8080/?action=stream


To auto retry until a webcam is connected on every boot, add --restart=on-failure to the 'docker run' command line.
docker run --restart=on-failure -p 8080:8080 -v /dev:/dev --privileged mhamanaka/rpi-mjpg-streamer-uvc:0.1


Docker Pull Command

Comments (1)
3 months ago

you shouldn't run with --privileged, but with --device=/dev/video0