2023-11-06, 02:53 AM
(This post was last modified: 2023-11-06, 03:27 AM by YamiYukiSenpai. Edited 1 time in total.)
Got it working with a newer Podman from this repo: /repositories/develkubiclibcontainersunstable/xUbuntu_22.04 - openSUSE Download
Here's the full systemd service file it generated:
Just working on hardware acceleration now, but I’m having trouble with my GTX 1060
Here's the full systemd service file it generated:
Code:
# container-jellyfin.service
# autogenerated by Podman 4.6.2
# Sun Nov 5 04:49:17 UTC 2023
[Unit]
Description=Podman container-jellyfin.service
Documentation=man:podman-generate-systemd(1)
Wants=network-online.target
After=network-online.target
RequiresMountsFor=%t/containers
[Service]
Environment=PODMAN_SYSTEMD_UNIT=%n
Restart=on-failure
TimeoutStopSec=70
ExecStart=/usr/bin/podman run \
--cidfile=%t/%n.ctr-id \
--cgroups=no-conmon \
--rm \
--sdnotify=conmon \
--detach \
--label io.containers.autoupdate=registry \
--name jellyfin \
--publish 8096:8096/tcp \
--publish 8920:8920/tcp \
--publish 7359:7359/udp \
--device nvidia.com/gpu=all \
--security-opt=label=disable \
--device /dev/nvidia-caps:/dev/nvidia-caps \
--device /dev/nvidia0:/dev/nvidia0 \
--device /dev/nvidiactl:/dev/nvidiactl \
--device /dev/nvidia-modeset:/dev/nvidia-modeset \
--device /dev/nvidia-uvm:/dev/nvidia-uvm \
--device /dev/nvidia-uvm-tools:/dev/nvidia-uvm-tools \
--replace \
--userns keep-id \
--volume /opt/podvol/jellyfin/cache:/cache \
--volume /opt/podvol/jellyfin/config:/config \
--mount type=bind,source=/media,destination=/media,ro=false docker.io/jellyfin/jellyfin:latest
ExecStop=/usr/bin/podman stop \
--ignore -t 10 \
--cidfile=%t/%n.ctr-id
ExecStopPost=/usr/bin/podman rm \
-f \
--ignore -t 10 \
--cidfile=%t/%n.ctr-id
Type=notify
NotifyAccess=all
[Install]
WantedBy=default.target
Just working on hardware acceleration now, but I’m having trouble with my GTX 1060
- Ryzen 7 5700G
- 80GB RAM
- EVGA 3060 Ti
- Ubuntu Server
- Jellyfin in Docker (Snap)