ERROR: for pigfarm-app Cannot start service pigfarm: OCI runtime create failed: container_linux.go:

Posted 巴州夜雨

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ERROR: for pigfarm-app Cannot start service pigfarm: OCI runtime create failed: container_linux.go:相关的知识,希望对你有一定的参考价值。

如下启动报错,就是驱动掉了引发的问题。

ubuntu@yufeichang1:/data/pigfarm/packages/pigfarm-deploy-packages$ sudo docker-compose up -d

Creating nginx ... done

Creating pigfarm-app ... error

ERROR: for pigfarm-app  Cannot start service pigfarm: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caused "process_linux.go:385: 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 --video --require=cuda>=10.0 brand=tesla,driver>=384,driver<385 brand=tesla,driver>=410,driver<411 --pid=5073 /var/lib/docker/overlay2/5b35e5dd0b1a3da05239a368e03113cb04c1a34c29d725baac7f6b5535f4f703/merged]\\nnvidia-container-cli: initialization error: cuda error: no cuda-capable device is detected\\n\""": unknown

ERROR: for pigfarm  Cannot start service pigfarm: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caused "process_linux.go:385: 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 --video --require=cuda>=10.0 brand=tesla,driver>=384,driver<385 brand=tesla,driver>=410,driver<411 --pid=5073 /var/lib/docker/overlay2/5b35e5dd0b1a3da05239a368e03113cb04c1a34c29d725baac7f6b5535f4f703/merged]\\nnvidia-container-cli: initialization error: cuda error: no cuda-capable device is detected\\n\""": unknown

ERROR: Encountered errors while bringing up the project.

ubuntu@yufeichang1:/data/pigfarm/packages/pigfarm-deploy-packages$ nvidia-smi

NVIDIA-SMI has failed because it couldn‘t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

以上是关于ERROR: for pigfarm-app Cannot start service pigfarm: OCI runtime create failed: container_linux.go:的主要内容,如果未能解决你的问题,请参考以下文章

C++学习(三七一)iconv.c:253:8: error: conflicting types for ‘libiconv‘

安装RabbitMQ编译erlang时,checking for c compiler default output file name... configure:error:C compiler c

linux C语言编译报错:error: invalid storage class for function ‘xxx‘

linux C语言编译报错:error: invalid storage class for function ‘xxx‘

c语言编程runtime error怎么解决

xcode上编译c语言程序报错:ld: x duplicate symbol for architecture x86_64 clang: error: linker command failed