2024-09-28, 02:53 AM
My working docker container is suddenly throwing cuda errors after a power outage. Nothing else has changed, worked for months till this damn storm. nvidia-container-toolkit is installed, any thoughts?
And here's my docker-compose:
Quote:[AVHWDeviceContext @ 0x64df00579a40] Cannot load libcuda.so.1
[AVHWDeviceContext @ 0x64df00579a40] Could not dynamically load CUDA
Device creation failed: -1.
Failed to set value 'cuda=cu:0' for option 'init_hw_device': Operation not permitted
Error parsing global options: Operation not permitted
And here's my docker-compose:
Quote:services:
jellyfin:
image: jellyfin/jellyfin
container_name: jellyfin
user: 962:962
network_mode: "host"
environment:
- JELLYFIN_CACHE_DIR=/var/cache/jellyfin
- JELLYFIN_CONFIG_DIR=/etc/jellyfin
- JELLYFIN_DATA_DIR=/var/lib/jellyfin
- JELLYFIN_LOG_DIR=/var/log/jellyfin
- NVIDIA_VISIBLE_DEVICES=all
- NVIDIA_DRIVER_CAPABILITIES=all
volumes:
- /etc/jellyfinetc/jellyfin
- /var/cache/jellyfinvar/cache/jellyfin
- /var/lib/jellyfinvar/lib/jellyfin
- /var/log/jellyfinvar/log/jellyfin
- /mnt/jellyfin12mnt/jellyfin12
- /mnt/Media-SSDmnt/Media-SSD
- /mnt/jellyfin14mnt/jellyfin14
- /mnt/jellyfin14-2mnt/jellyfin14-2
- /mnt/jellyfin22mnt/jellyfin22
- /mnt/jellyfin22-2mnt/jellyfin22-2
restart: "unless-stopped"
deploy:
resources:
reservations:
devices:
- capabilities: [gpu]