How to pass cdrom to docker ?

phaelax

Dabbler
Joined
Sep 1, 2022
Messages
18
I installed handbrake and have mounted my cdrom to /dev/cdrom but not sure how I can get handbrake to see that mount.
I tried running the following:

docker run --device /dev/cdrom -it <image_id>

It displays a ton of stuff on the screen, but the message that caught my attention was:

Code:
[cont-init.d] 95-check-optical-drive.sh: looking for usable optical drives...
[cont-init.d] 95-check-optical-drive.sh: found optical drive /dev/sr0, but it is not usable because is not exposed to the container.


I'm very new to docker.
 
Top