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

Unable to run GPU container on Windows Insider #11024

Closed
2 of 3 tasks
Tyrubias opened this issue Apr 24, 2021 · 3 comments
Closed
2 of 3 tasks

Unable to run GPU container on Windows Insider #11024

Tyrubias opened this issue Apr 24, 2021 · 3 comments

Comments

@Tyrubias
Copy link

  • I have tried with the latest version of Docker Desktop
  • I have tried disabling enabled experimental features
  • I have uploaded Diagnostics
  • Diagnostics ID:

Actual behavior

When attempting to run the command docker run --rm -it --gpus=all nvcr.io/nvidia/k8s/cuda-sample:nbody nbody -gpu -benchmark, I receive the following error:

docker: Error response from daemon: OCI runtime create failed: container_linux.go:367: starting container process caused: process_linux.go:495: container init caused: Running hook #0:: error running hook: exit status 1, stdout: , stderr: nvidia-container-cli: requirement error: unsatisfied condition: cuda>=11.2, please update your driver to a newer version, or use an earlier cuda container: unknown.

Expected behavior

I expect to reproduce the example in the Docker Desktop WSL 2 backend documentation.

Information

  • Windows Version: Insiders build 21364.1000
  • Docker Desktop Version: 3.3.1
  • WSL2 or Hyper-V backend? WSL2 backend
  • Are you running inside a virtualized Windows e.g. on a cloud server or a VM: No

Steps to reproduce the behavior

  1. Install the latest Windows Insider dev build.
  2. Install the beta Nvidia driver.
  3. Install Docker Desktop v3.3.1
  4. Attempt to run the example (both in WSL2 and Powershell)
@onomatopellan
Copy link

onomatopellan commented Apr 24, 2021

It's a nvidia-docker bug. For a workaround see NVIDIA/nvidia-container-toolkit#148

@stephen-turner
Copy link
Contributor

Thanks, @onomatopellan, I'll close this in favour of the Nvidia ticket.

@docker-robott
Copy link
Collaborator

Closed issues are locked after 30 days of inactivity.
This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
/lifecycle locked

@docker docker locked and limited conversation to collaborators May 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants