cockpit-podman icon indicating copy to clipboard operation
cockpit-podman copied to clipboard

Add support for --device arguments

Open ardevd opened this issue 4 years ago • 5 comments

Would be nice to be able to specify device arguments through the UI.

ardevd avatar Sep 25 '20 22:09 ardevd

+1

Plasmarobo avatar Mar 21 '24 13:03 Plasmarobo

Found this issue when trying to enable the hardware acceleration of Jellyfin. 🥲

deemoe404 avatar Apr 10 '24 09:04 deemoe404

@deemoe404 What did you do? Did you create a compose file instead ? Or just ditched HW accel for now ?

Extarys avatar May 13 '24 15:05 Extarys

@deemoe404 What did you do? Did you create a compose file instead ? Or just ditched HW accel for now ?

I ended up using this command to create the container. After creating it from the terminal, it can be monitored in the cockpit. You can refer to the documents here: https://jellyfin.org/docs/general/administration/hardware-acceleration/intel#configure-with-linux-virtualization.

podman run -d \
 --name=Jellyfin \
 --volume /mnt/CT1000/media/Jellyfin/config:/config \
 --volume /mnt/CT1000/media/Jellyfin/cache:/cache \
 --volume /mnt/CT1000/media/info:/media \
 --volume /mnt/CT1000/qBittorrent/downloads:/mnt/CT1000/qBittorrent/downloads \
 --group-add=$(getent group render | cut -d: -f3) \
 -p 8096:8096 \
 --restart=always \
 --device /dev/dri/renderD128:/dev/dri/renderD128 \
 jellyfin/jellyfin

deemoe404 avatar May 13 '24 15:05 deemoe404