Create a Hyper-V container

Q. How do I create a container instance that is a Hyper-V Container instead of a Windows Container?

A. To create a Hyper-V Container instance instead of a regular Windows Container simply add --isolation=hyper-v to the docker run command. The use of a Hyper-V container provides a kernel mode isolation instead of user mode isolation through the use of an automatically generated Hyper-V VM where the container instances runs.