Rawpixel - Fotolia
The requirements to run Windows Hyper-V containers aren't extensive, but there are several important considerations that IT staff must accommodate. In terms of the host OS, a business will need the Server Core or full desktop experience installation of Windows Server 2016 installed to a C: drive. The Hyper-V role must also be installed in order to run Hyper-V containers.
To run Hyper-V containers within a Hyper-V VM -- known as nested virtualization -- administrators must provide Windows Server 2016 on the host system and Windows Server Core or the full desktop experience in the VM. From a compute resource perspective, the deployment will need at least 4 GB of memory for the virtualized Hyper-V host VM, as well as a processor with Intel VT-x -- Advanced Micro Devices virtualization technologies aren't yet supported for nested virtualization -- and at least two virtual processors for the container host VM.
Developers can utilize two container base images: an image for Windows Server Core and an image for Nano Server. When Windows Server 2016 -- Standard or Datacenter -- is deployed as the host OS, Windows Server containers can use either Server Core or Nano Server base images, while Hyper-V containers can use either Server Core or Nano Server base images.
The important thing to emphasize here is that both Windows Server containers and Hyper-V containers are identical. Although documentation might refer to these as two different types of containers, the containers are created, managed and operate identically; they use the same container images and compute resources.
The only difference between Windows Server and Hyper-V containers is the level of isolation implemented between containers and the host OS. Hyper-V containers offer better isolation because they are run within a VM to provide isolation from other VMs and the host OS. Most enterprise production environments will employ Hyper-V containers for this reason. But ultimately, the actual container is the same regardless of whether it's run on the host or in a VM.
Run containers on bare metal or VMs
Migrate a VM application to a container
Use these methods to secure containers
Dig Deeper on Microsoft Hyper-V management
Related Q&A from Stephen J. Bigelow
Navigating data center malfunctions when hardware is off premises can be tricky. Organizations must have strong SLAs with their colo provider to ... Continue Reading
Regression tests and UAT ensure software quality and both require a sizeable investment. Learn when and how to perform each one, and some tips to get... Continue Reading
Learn the meaning of functional vs. nonfunctional requirements in software engineering, with helpful examples. Then, see how to write both and build ... Continue Reading