Jupyter jetcam in docker, 'Could not initialize camera'

Information about the container:
the base image is nvcr.io/nvidia/tensorrt:20.03-py3
I installed all missing libraries using the bash inside of the container, and cloned trt_pose
the run command:
sudo docker run --gpus all -it --device=/dev/video0:/dev/video0 -p 8888:8888 --rm <image_name>

then run jupyter using:
jupyter notebook --ip 0.0.0.0 --no-browser --allow-root

and open jupyter on the host machine’s browser