I’ve encountered a strange issue when launching docker containers with the nvidia runtime.
Previously (2 weeks ago), I was able to launch a container with a similar command:
docker run --rm -it --gpus all -v $(pwd):/config linuxserver/ffmpeg
But ever since I rebooted my PC late last week (which automatically updated me to Fedora 42), the same command above gives me the follow error message:
docker: 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: detection error: open failed: /usr/lib/libnvidia-tls.so.570.144: no such file or directory: unknown
I’ve done some poking around and could not locate the file /usr/lib/libnvidia-tls.so.570.144
. However, I do see a similar file /usr/lib/libnvidia-tls.so.570.153.02
.
When I run the ldconfig
command, I get the following warnings:
ldconfig: Can’t link /lib/libnvidia-tls.so.570.144 to libnvidia-tls.so.570.153.02
ldconfig: Can’t link /lib/libnvidia-gpucomp.so.570.144 to libnvidia-gpucomp.so.570.153.02
ldconfig: Can’t link /lib/libnvidia-glvkspirv.so.570.144 to libnvidia-glvkspirv.so.570.153.02
ldconfig: Can’t link /lib/libnvidia-glsi.so.570.144 to libnvidia-glsi.so.570.153.02
ldconfig: Can’t link /lib/libnvidia-glcore.so.570.144 to libnvidia-glcore.so.570.153.02
ldconfig: Can’t link /lib/libnvidia-eglcore.so.570.144 to libnvidia-eglcore.so.570.153.02
So it looks like there was a driver update and didn’t fully cleanup those files somehow, but I am not sure how to fix that.
Any suggestions? Everything else is working fine otherwise