Create a Hyper-V container

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.

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish