Internal SATA dvd-rw drives are not detected in docker deployment #208
Replies: 3 comments 4 replies
-
You MUST expose BOTH srX AND sgX to the container |
Beta Was this translation helpful? Give feedback.
-
For anyone else reading this I have re-worked this a few times, trying to attach a GPU to the container. Regarding the dvd drive, I had to install sg3_utils in addition to lssci to get the drive to attach. My first successful drive attach attempt had issues reading the dvds, moved to a different machine (one with GPU for future purposes), and now I am getting the following error: Here's the lsscsi -g output for the drive: Here's my docker-compose.yml I am using (No GPU for now) |
Beta Was this translation helpful? Give feedback.
-
First Question, Why are you trying to passthrough a GPU ? Thats Pointless!!!!!!!!! |
Beta Was this translation helpful? Give feedback.
-
I'm making this rather late and will come back to update with more specifics, but I have gone from new to docker/podman in the last week and attempting to get this working to no avail. Getting the infamous 'this program cant find any usable optical drives' error. I have read through a few forums and it seems a USB drive may be my only hope.
I have now tried this on two different servers and three different internal drives. I have wiped out my proxmox install in favor of straight fedora and have two servers working with podman setup. Portainer is running on one with the agent extending portainer for the other environment. I just deployed the docker container again using portainer to my IBM-x server with an internal DVD drive at /dev/sr0 (sg is not installed, could be the issue... maybe..), I was sure to add the device to the container via the portainer interface. Everything else seems to work fine on the container. I'm at a loss, I'd rather use my internal dvd drives if I can.
Beta Was this translation helpful? Give feedback.
All reactions