-
Notifications
You must be signed in to change notification settings - Fork 437
Description
Error on fresh opensuse tumbleweed install
Error message when running a test docker container.
dan@localhost:~> docker run --gpus all hello-world 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: initialization error: load library failed: libnvidia-ml.so.1: cannot open shared object file: no such file or directory: unknown.
Followed the install steps from: https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html
dan@localhost:~> sudo zypper --gpg-auto-import-keys install -y nvidia-container-toolkit
Refreshing service 'NVIDIA'.
Refreshing service 'openSUSE'.
Loading repository data...
Reading installed packages...
'nvidia-container-toolkit' is already installed.
No update candidate for 'nvidia-container-toolkit-1.17.4-1.x86_64'. The highest available version is already installed.
Resolving package dependencies...
Nothing to do.
dan@localhost:~> sudo nvidia-ctk runtime configure --runtime=docker
INFO[0000] Loading config from /etc/docker/daemon.json
INFO[0000] Wrote updated config to /etc/docker/daemon.json
INFO[0000] It is recommended that docker daemon be restarted.
dan@localhost:~> sudo systemctl restart docker
OS: Tumbleweed 20250211
Docker Version: 27.4.1-ce, build c710b88579fc