当在树莓派上执行这段命令后,将创建montioneye容器 docker run --name="motioneye" \-p 8765:8765 \--hostname="motioneye" \-v /etc/localtime:/etc/localtime:ro \-v /etc/motioneye:/etc/motioneye \-v /var/lib/motioneye:/var/lib/motioneye \--restart="always" \--detach=true \ccrisan/motioneye:master-armhf 但是在打开web后怎么也识别不到摄像头,后来仔细看了一遍wiki发现,还要加参数--device=/dev/video0,意思是将树莓派摄像头映射到容器内部 完整命令: docker run --name="motioneye" \-p 8765:8765 \--hostname="motioneye" \-v /etc/localtime:/etc/localtime:ro \-v /etc/motioneye:/etc/motioneye \-v /var/lib/motioneye:/var/lib/motioneye \--restart="always" \--detach=true \--device=/dev/video0 \ccrisan/motioneye:master-armhf 能成功添加摄像头了!!!!