赞
踩
NVIDIA Docker (nvidia-docker2) is primarily designed for Linux-based systems and is not natively supported on Windows. NVIDIA Docker relies on features provided by the Linux kernel, which are not present on Windows.
If you are using a Windows machine and want to utilize NVIDIA GPUs for Docker containers, you have a few alternative options:
NVIDIA GPU Support for Windows Containers (Windows 10 and Windows Server): If you are using Windows 10 or Windows Server, you can leverage NVIDIA GPU support for Windows containers. Microsoft has introduced support for GPU-accelerated containers on Windows, but this technology is separate from NVIDIA Docker on Linux. You can find more information in Microsoft’s documentation.
WSL 2 (Windows Subsystem for Linux 2): Another option is to use Windows Subsystem for Linux 2 (WSL 2) with Docker Desktop for Windows. WSL 2 allows you to run a Linux kernel alongside your Windows system. With this setup, you can use standard Docker for Linux containers, including those with GPU support.
Dual Boot or Linux Virtual Machine: If you require NVIDIA GPU support for Docker and your workloads, you may consider setting up a dual-boot system or running a Linux virtual machine on your Windows host. In this scenario, you would run Docker natively within the Linux environment, taking full advantage of NVIDIA GPU support.
Please note that the landscape of containerization and GPU support may have evolved since my last knowledge update in January 2022. I recommend checking the official NVIDIA and Docker documentation for the latest information and solutions regarding NVIDIA GPU support on Windows.
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。