How to run a windows docker container on linux host?
Asked Answered
S

4

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?

Selwyn answered 23/3, 2016 at 7:45 Comment(0)
B
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

Blau answered 30/12, 2021 at 18:52 Comment(0)
C
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"

Calves answered 23/3, 2016 at 8:4 Comment(2)
A docker-compose that handles both qemu and preinstalled isos might be possible. If stefanscherer.github.io/… is true, the opposite can't be impossible.Food
@erm3nda I agree. I suppose it will be possible one day.Calves
C
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.

Cracksman answered 23/3, 2016 at 8:17 Comment(0)
Z
-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.

Zonda answered 23/3, 2016 at 9:32 Comment(1)
hey guys add a comment when you don't like an answer. we need to know why it is not a good answer. please and thank you!Controller

© 2022 - 2024 — McMap. All rights reserved.