step 1: first we have to make the Docker file for creating image.
step 2: then build the image using dockerbuild command
step 3: then push the image into the docker hub using credentials and docker push command
step 4: pull this image inside the local system in RHEL 9
step 5: then use docker docker run --device /dev/video0:/dev/video0 --net=host -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix mayaworld13/livestream-docker
then your video livestreaming get started