Webcam – Using a Webcam with MacBook Inside a Docker Container

dockervideowebcam

Has anybody figured out yet how to use an external webcam which is connected to a MacBook inside a Docker container?

I read that I have to pass this flag --device /dev/video0 to docker run, but I have a MacBook and there is no /dev/video0.

Host Machine: MacBook Pro (15-inch, Mid 2012)
External Webcam: Logitech C922 Pro Stream
Docker container: wusuopu/python-opencv3-dlib:py3.5

PS: I do not have an iSight camera anymore, I took it out.