Is there any way to build and run Windows containers via Rancher Desktop?

Viewed 1408

I have installed Rancher Desktop application on Windows 10 and set it to use docker as container runtime. I was able to run simple commands on Windows with docker like,

docker run -it --rm ubuntu sh

However, I could not find an option to switch it to run Windows container. Even pull command comes up with error

docker pull mcr.microsoft.com/windows/nanoserver:ltsc2022

I tried to add --platform windows, like

docker pull --platform windows mcr.microsoft.com/windows/nanoserver:ltsc2022

but it responds that --platform windows is not recognised. I do understand that Rancher Desktop uses Kubernetes cluster in background to pull/build and run Linux Docker images/containers, but... is there way to make it run Windows images/containers? Docker Desktop is not an option !

2 Answers
Related