Device location mapping in docker

sudo docker run --device /dev/video0:/dev/video0 -p 9000:9000 -p 8000:8000 -a stdin -it project_image /bin/bash (this will interface camera (device) with my docker image in ubunutu distribution)

Needed the information about the simillar implementaion in Mac OS.

In ubuntu all devices get listed in /dev is there anything simillar in Mac OS so that we can mount it to docker image.


I am getting an error of
[0004] Error: image library/project_image:latest not found
PLease resolve it as soon as possible.

can we use webcam inside docker after execution of these code snippet