nvidia-container-cli: ldcache error: process /sbin/ldconfig terminated with signal 9
Seems to work fine with podman
but fails with the title error in docker
:
$ pacman -Q libnvidia-container
libnvidia-container 1.17.8-1
$ pacman -Q nvidia-container-toolkit
nvidia-container-toolkit 1.17.8-1
$ podman run --rm --gpus all archlinux nvidia-smi -L
GPU 0: Quadro P620 (UUID: GPU-REDACTED)
$ docker run --rm --gpus all archlinux nvidia-smi
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: ldcache error: process /sbin/ldconfig terminated with signal 9
Run 'docker run --help' for more information
$ docker run --rm --gpus all ubuntu nvidia-smi
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: ldcache error: process /sbin/ldconfig terminated with signal 9
Run 'docker run --help' for more information