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 running docker on wsl with cuda #368

Open
josersleal opened this issue Mar 18, 2024 · 1 comment
Open

error running docker on wsl with cuda #368

josersleal opened this issue Mar 18, 2024 · 1 comment

Comments

@josersleal
Copy link

followed the instructions, installed cuda and then ran the docker command as per docs.
Error showed:

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: requirement error: unsatisfied condition: cuda>=11.8, please update your driver to a newer version, or use an earlier cuda container: unknown.

adding --env NVIDIA_DISABLE_REQUIRE=1 to the docker command allows it to start, however this should not occur.

----> dpkg -s nvidia-container-toolkit
Package: nvidia-container-toolkit
Status: install ok installed
Priority: optional
Section: utils
Installed-Size: 2754
Maintainer: NVIDIA CORPORATION cudatools@nvidia.com
Architecture: amd64
Version: 1.15.0rc.3-1
Replaces: nvidia-container-runtime (<= 3.5.0-1), nvidia-container-runtime-hook
Depends: nvidia-container-toolkit-base (= 1.15.0
rc.3-1), libnvidia-container-tools (>= 1.15.0~rc.3-1), libnvidia-container-tools (<< 2.0.0)
Breaks: nvidia-container-runtime (<= 3.5.0-1), nvidia-container-runtime-hook
Description: NVIDIA Container toolkit
Provides tools and utilities to enable GPU support in containers.
Homepage: https://github.com/NVIDIA/nvidia-container-toolkit

@mitya52
Copy link
Member

mitya52 commented Mar 19, 2024

unsatisfied condition: cuda>=11.8
looks like you have old nvidia driver, try to update it

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