19

can we run a windows docker container on linux host? also can take a RDP to windows docker container hosted on linux from other windows machines in the same network?

Docgyan
  • 655
  • 2
  • 12
  • 29

4 Answers4

10

Today, it is clearly possible.

I recently succeeded in containerizing Windows Guest using QEMU and Docker.

https://github.com/gnh1201/docker-qemu/wiki/Windows-Guest

Go Namhyeon
  • 631
  • 1
  • 5
  • 15
2

"windows docker": if that means docker for windows, running Windows container, then no.

You could run windows container on Linux the same way you are running Linux Container on windows: through a Virtual Machine emulating the target host.

Update Dec. 2016: Kubernetes 1.5 might offer a solution: see "Linux machine with docker deploy windows container"

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • 1
    A docker-compose that handles both qemu and preinstalled isos might be possible. If https://stefanscherer.github.io/run-linux-and-windows-containers-on-windows-10/ is true, the opposite can't be impossible. – m3nda Apr 16 '17 at 13:11
  • @erm3nda I agree. I suppose it will be possible one day. – VonC Apr 16 '17 at 13:30
0

As VonC answered, it is not possible ATM.

Nevertheless you may consider to run wine if the service you need to run can run with wine.

Auzias
  • 3,638
  • 14
  • 36
-4

About RDP, I see this extract from

https://msdn.microsoft.com/en-us/virtualization/windowscontainers/about/work_in_progress

Remote Desktop Windows Containers cannot be managed/interacted with through a RDP session in TP4.

user2915097
  • 30,758
  • 6
  • 57
  • 59