Docker Community Forums

Share and learn in the Docker community.

Support for WIndows Containers


(Nheadlam) #1

I’m expecting the --isolation=hyperv parameter to work with docker run as in
docker run --isolation=hyperv --rm microsoft/sample-dotnet

The following error is displayed instead
"hyperv" - linux only supports ‘default’

Steps to reproduce the behavior

  1. follow steps 3 and 4 form this link https://msdn.microsoft.com/en-us/virtualization/windowscontainers/quick_start/quick_start_windows_server. I know the issue is due to the version of the engine (1.12.0-rc4-beta19 build: 5465) installed with docker for windows does not support the command

(Rolf Neugebauer) #2

Hi

this is expected as the Docker for Windows application is currently only supporting running Linux containers on Windows. We are working on supporting Windows containers in the future.

Rolf


(Usman ur Rehman Ahmed) #3

With Windows 10 Anniversary update on August 2 (yesterday) Windows container are supported using Hyper-V already. Can you give some insight as what would be different in underlying mechanism/architecture when Docker for Windows provide the support for Windows container as you mentioned?


(Michael Friis) #4

You can get an idea of what the setup will be like here: Linux and Windows Images Side by Side