[complete] Adding Devices to Docker


ljm42

Recommended Posts

I just discovered that when adding/editing a container, if you click "Add another Path, Port or Variable", there is an option to add a "Device".  cool!

 

It seems I'm not the only one to miss this option, as the tips for adding "/dev/dri" to Plex tell you to add it in the Extra Parameters area:
  https://forums.lime-technology.com/topic/61583-hw-transcoding/?do=findComment&comment=605041 

  https://forums.lime-technology.com/topic/40463-support-linuxserverio-plex-media-server/?do=findComment&comment=544102

 

  1. So the first request is to change the link title to "Add another Path, Port, Variable or Device" so people know it is an option.
  2. After choosing "device" and clicking in the "value" area, it starts a file browser at "/mnt/user/".  So the second request is to default the file picker in the "/dev/" directory instead.
Edited by ljm42
  • Like 1
Link to comment

Cool, thanks @bonienl  I grabbed the latest file and did a test, the updated text and file picker worked great!

 

I noticed it added this to the run line:
   --device="/dev/dri/"
Most of the examples I have seen (including the docs) don't include the quotes:
   --device=/dev/dri/
Is that a problem?  Hopefully not, but I thought I'd ask.
 
Unfortunately, my Xeon doesn't have an IGPU so I can't actually tell if it is working inside Plex :~

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.