Yesterday, 08:10 PM
(2024-12-30, 01:33 PM)TheDreadPirate Wrote: Reinstall the Nvidia container toolkit?
I'm having a similar issue (less watchtower).
Woke up this morning and Jellyfin hadn't started and docker-compose up -d throws this error:
Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error
running prestart hook #0: exit status 1, stdout: , stderr: Auto-detected mode as 'legacy'
nvidia-container-cli: ldcache error: process /sbin/ldconfig.real terminated with signal 9
I saw this post saying they fixed it: https://forums.truenas.com/t/nvidia-gpu-...ning/32580 but it seems like that's a trueNAS thing because it didn't help my situation. I did reinstall the toolkit to no avail. Commenting out the nvidia stuff is the only way to get it to start.
jellyfin:
image: jellyfin/jellyfin
container_name: jellyfin
networks:
- bridge_network
- backend_network
user: 1000:1000
volumes:
- jellyconfig
config
- jellycache
cache
- /media/8tb/movies
Movies
restart: unless-stopped
#runtime: nvidia
#deploy:
# resources:
# reservations:
# devices:
# - driver: nvidia
# count: all
# capabilities: [gpu]