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

docker stderr: nvidia-container-cli: initialization error: cuda error: os call failed or operation not supported on this os: unknown. #908

Open
sf9ehf9fe opened this issue Feb 7, 2025 · 1 comment

Comments

@sf9ehf9fe
Copy link

I use the docker run - gpus all - d - v/opt/ai/ollama: / root/ollama -p 11434:11434 - name ollama ollama/ollama 'docker to run this command The image file in is incorrectly displayed

Error content '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: nvidia-container-cli: initialization error: cuda error: os call failed or operation not supported on this os: unknown.

The 'nvidia-smi' command returns information
Image

The 'nvcc' command returns information

Image

Installed nvidia-container-toolkit information

Image System information Image I'd appreciate it if you could help me
@elezar
Copy link
Member

elezar commented Feb 12, 2025

@sf9ehf9fe the nvidia-container-toolkit and libnvidia-container versions you are using are very old.

Could you please remove / purge the packages listed in your image above and then update to the latest NVIDIA Container Toolkit release (v1.17.4) as described here: https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html#installing-with-yum-or-dnf and see if the problem persists.

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