MVRSS
MVRSS copied to clipboard
Error while running the container
Hi,
I am struggling to set-up the environment. I am using Docker to install all the dependencies. Particularly at stage 2, when it comes to running a container, i am facing the following error (screenshot of Docker Desktop also attached).
Command: docker run -d --ipc=host -it -v /home/shahidnawaz/datasets:/home/datasets_local -v /home/shahidnawaz/logs:/home/logs --name mvrss --gpus all mvrss:Dockerfile sleep infinity Error: 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 hook #0: error running hook: 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.
I am new to using these tools, any help regarding solution would be much appreciated. Thanks.
Hi, Thanks for your interest in our work and sorry for the late reply. I'm not an expert in Docker so I do not have a direct solution to provide.
However, this issue might be of your interest: https://github.com/NVIDIA/nvidia-docker/issues/1648 E.g. this could be related to your GPU drivers or the nvidia deamon.
Another solution could be helpful here: https://stackoverflow.com/questions/75585166/oci-runtime-error-when-running-docker-compose-with-nvidia-runtime-but-not-with
One proposed to use Docker with sudo
so you can benefit from all the rights to create / modify files.
I hope this will help. Best.