Skip to content
This repository was archived by the owner on Jan 22, 2024. It is now read-only.
This repository was archived by the owner on Jan 22, 2024. It is now read-only.

oci runtime error ,ldcache error : process /sbin/ldconfig failed with error code 1 #552

@codexie

Description

@codexie

Hi,
I have installed nvidia-docker2 ,cuda9.0 and nvidia-driver384.81,and the GPU is Tesla M40 . However,when I exec "docker run --runtime=nvidia --rm nvidia/cuda nvidia-smi" , the error occurs as follows :
Error response from daemon: oci runtime error: container_linux.go:265: starting container process caused "process_linux.go:368: container init caused "process_linux.go:351:
running prestart hook 1 caused \"error running hook: exit status 1, stdout: , stderr: exec command: [/usr/bin/nvidia-container-cli --load-kmods configure --ldconfig=@/sbin/ldconfig.real
--device=all --compute --utility --require=cuda>=9.0 --pid=9152 /data/docker/aufs/mnt/a5580b0483a1324f820c340aac1c491eb869899d3e868ec51bd99c2a66a18791] \\nvidia-container-cli:
ldcache error : process /sbin/ldconfig failed with error code 1 \\n\""".

 What can be the problem for the error and how to fix it ?
 Thank You

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions