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
WET code leaves apps bogged down. Learn how to reduce the challenges brought on by code redundancy by programming based on the DRY principle. Continue Reading
A virtualization layer in an embedded system provides better efficiency for tasks such as network virtualization. Some examples of embedded ... Continue Reading
An embedded hypervisor offers several benefits, such as VM security, system reliability and improved hardware use, and is ideal for admins looking to... Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.