Windows – use windows inside a docker container

containersdockerwindowswindows-server-2016

I'm wondering, is it possible to configure a docker container to run Windows and then connect to it via RDP or parsec and use it as my main machine?

Best Answer

is it possible to configure a docker container to run Windows

Yes, you can Run native Windows Server Containers

connect to it via RDP

Nope.

According to an answer, Windows Containers does not support RDP. To quote an article from 2019:

But notice you still cannot RDP into such Windows containers.

See What's new for Docker on Windows Server 2019?