Docker containers for window user ¶
By: Abdul on Feb. 15, 2022, 8:14 a.m.
hello, can you give some example for window based docker containers. i am not using linux. thank you in advance
By: simongraham73 on Feb. 15, 2022, 11:35 a.m.
You won't need to adapt much apart from just installing Docker Engine and NVIDIA Container Toolkit accordingly. For NVIDIA Container Toolkit:
"It is highly recommended to install Windows Subsystem for Linux (WSL) to work with Docker on a Linux environment within Windows. Please make sure to install WSL 2 by following the instructions on the same page. Also, note that the basic version of WSL 2 does not come with GPU support. Please watch the official tutorial by Microsoft on installing WSL 2 with GPU support. The alternative is to work purely out of Ubuntu, or any other flavor of Linux."
Today we will do a full test with a Windows OS and get back to you on the exact details.
By: mositemp on Feb. 18, 2022, 9:42 p.m.
As Simon has already pointed, in order to pack you algorithm in a docker container that has Cuda capablilities, you need to use WSL. We have updated our docker template repository to add details of how you can do this, here.
You will see that you have to make everything with your algorithm ready for dockerization (based on our guidelines) and then only use WSL to containerize your algorithm.
Good luck, Mostafa