How to run a windows docker container on linux host?

13,368

Solution 1

"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"

Solution 2

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

Share:
13,368
Docgyan
Author by

Docgyan

Updated on June 12, 2022

Comments

  • Docgyan
    Docgyan almost 2 years

    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?

  • m3nda
    m3nda about 7 years
    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.
  • VonC
    VonC about 7 years
    @erm3nda I agree. I suppose it will be possible one day.
  • Nicholas DiPiazza
    Nicholas DiPiazza almost 7 years
    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!