janou195
janou195

Reputation: 1205

Running windows container on linux host

I installed docker CE on an Ubuntu 16.04, and when I try:

docker pull microsoft/windowsservercore

It fails:

Using default tag: latest
latest: Pulling from microsoft/windowsservercore
3889bb8d808b: Pulling fs layer 
da87b55a9b63: Pulling fs layer 
image operating system "windows" cannot be used on this platform

Is it possible to run a windows image on a linux host with docker? If yes, how should I do that?

Upvotes: 1

Views: 5406

Answers (1)

Spangen
Spangen

Reputation: 4730

Unlike other Virtual computing systems like Virtual Box or VMWare, Docker images are small and not fully complete stand alone entities.

The Docker image does not include the OS kernel, instead it uses the kernel of the Docker host

This makes the images very light weight, but it also means you won't be able to run a Windows image on a Linux host.

Upvotes: 7

Related Questions