Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while running the container #7

Open
ShahidNawaz01 opened this issue Jan 16, 2024 · 1 comment
Open

Error while running the container #7

ShahidNawaz01 opened this issue Jan 16, 2024 · 1 comment

Comments

@ShahidNawaz01
Copy link

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.

Screenshot from 2024-01-16 16-53-14

@ArthurOuaknine
Copy link
Collaborator

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: NVIDIA/nvidia-docker#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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants