refact icon indicating copy to clipboard operation
refact copied to clipboard

error running docker on wsl with cuda

Open josersleal opened this issue 11 months ago • 1 comments

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 [email protected] Architecture: amd64 Version: 1.15.0~rc.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

josersleal avatar Mar 18 '24 20:03 josersleal

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

mitya52 avatar Mar 19 '24 10:03 mitya52