Skip to content

/dev/dri container access, plex, rootless #25172

Answered by adoreparler
adoreparler asked this question in Q&A
Discussion options

You must be logged in to vote

The linuxserver image works if I pass in the User=1000:1000 Directive. But I am unable to use the named volume anymore. But the below works without the named volume. So HW Accel Works in rootless now.

[Unit]
Description=Plex Media Server

[Container]
#Image=docker.io/plexinc/pms-docker:latest
Image=lscr.io/linuxserver/plex:latest
AutoUpdate=registry

# PUID/PGID set to match host user, keeping userns for file system permissions 
Environment=TZ=America/New_York
User=1000:1000

GroupAdd=keep-groups
ShmSize=8gb
Network=host

# Config volumes
#Volume=plex-config:/config
Volume=plex-transcode:/transcode
Volume=/media/alpha:/media/alpha
Volume=/media/beta:/media/beta
Volume=/opt/plex:/config

 …

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@adoreparler
Comment options

Comment options

You must be logged in to vote
1 reply
@adoreparler
Comment options

Answer selected by adoreparler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants