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
Just because software passes functional tests doesn't mean it works. Dig into stress, load, endurance and other performance tests, and their ... Continue Reading
Don't neglect form factor as part of your data center server selection. Instead, figure out what type of environment you need and learn which server ... Continue Reading
Learn how load balancing in the cloud differs from a traditional network traffic distribution, and explore the different services available from AWS,... Continue Reading