Create a Hyper-V container
Learn how to create a Hyper-V container for kernel mode isolation.
John Savill
December 11, 2016
1 Min Read
![Create a Hyper-V container Create a Hyper-V container](https://eu-images.contentstack.com/v3/assets/blt07f68461ccd75245/blt464c171924a9cd3b/6618134c1a743a42524507bb/jars-1666249960720_0_5.jpg?width=1280&auto=webp&quality=95&format=jpg&disable=upscale)
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.
About the Author
Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.
You May Also Like