Score:0

Running a Windows 10 GUI Desktop within a Windows Container / Hyper-V Isolation?

ht flag

I am new to the world of containers, so I have what may be a very basic question.

TLDR: Can I install the Full Windows 10 OS into a Windows Container, and access it via RDP or somehow through console? Or a Hyper-V Isolation Windows Container?

I am looking to do a bit of development work, and want to rapidly test new code and have a "reset" button by using containers.

My goal is to target a Windows 10 build 1809 and run ansible code against it. Traditionally I would take a snapshot of my Windows 10 VM, run my code manually, and revert back to that base snapshot and rinse / repeat.

Id like to move my small infrastructure into containers so that they "start fresh" upon testing new code using GitLab and containers.

Windows Server seems like it can accommodate most test cases since I have a mixed environment of Linux/Windows, ( I'm running in a container semantic-versioning, Sonatype Nexus, and Ansible), and use that infrastructure to build/configure/test a full install of Windows 10. I need to be able to either RDP into this test Windows 10 or somehow access it via console to validate my code executed successfully.

Is it possible to have Windows 10 have the full desktop/gui experience inside of a Windows container or Hyper-V isolation container?

I haven't found a definitive answer yet, and so I'm thinking no. If that can't be done, I figure I would stand up 1 Windows Server, enable Hyper-V and do a traditional VM install of Windows 10, and then on that same Windows Server, install Docker Desktop and run my Linux Containers on that (with WSL installed).

Could anyone provide advice on how to achieve a small testing setup like I described (with containers who can communicate over a network with a full Windows 10 install), ideally all on one Windows Server?

Thank you!!

br flag
This works just fine in a VM, no need, or real benefit, from containerising it
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.