Docker containers for window user

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

Re: Docker containers for window user  

  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.

 Last edited by: mositemp on Aug. 15, 2023, 12:55 p.m., edited 1 time in total.
Reason: add hyperlinks

Re: Docker containers for window user  

  By: Abdul on Feb. 15, 2022, 12:48 p.m.

thank you so much for your prompt reply and suggestion.

Re: Docker containers for window user  

  By: mositemp on Feb. 18, 2022, 9:42 p.m.

Dear Abdul,

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

Re: Docker containers for window user  

  By: Abdul on Feb. 19, 2022, 11:25 a.m.

dear Mostafa thank you so much for your effort to prepare docker for window. thanks again. best regards Abdul Qayyum