OS
- Server 2022, Server 2019, Server 2016
- Windows 10 Pro, 11 Pro
Memory requirements
# Launch a container and run basic commands (ipconfig, dir, and so on)
Windows Server 2016 Server Core
- Windows Server container: 50 MB
- Hyper-V isolation: 325 MB + 1 GB Pagefile
Container Base Images
- Windows
- Windows Server
- Windows Server Core
- Nano Server
Isolation
- Process(--isolation=process) # Default
- Hyper-V(--isolation=hyperv)
Containers License
* Windows Server and SQL Server are licensed differently
* isolation=hyperv 相當於跟 Hyper-V License
Hyper-V isolation(vmwp process)
"virtual" computers Microsoft calls them "OSEs"
Containers with "Hyper-V isolation" create virtual machines,
therefore, they require Windows Server licenses the same way regular virtual machines would.
Server & CPU License
- A minimum of 8 core licenses is required for each physical processor and
- A minimum of 16 core licenses is required for each server.
-
Core licenses are sold in packs of two. (each pack contains two licenses)
=> 一架機最小買 8 pack Core License, 即使它只有 1 CPU (4Core) -
Standard Edition provides rights for up to 2 Operating System Environments
(2 virtual machines, plus one Hyper-V host per license)
For each additional 1 or 2 VMs, all the physical cores in the server must be licensed again.
* Standard edition is licensed under the Per Core/CAL* license model
=> requires a Windows Server CAL for access to the server.
Summary
Host OS: Windows Server Standard
Windows Server 2022 Standard - 16 Core License Pack + 10 CALS USD$1,680
Windows Server 2022 Standard - 16 Core License Pack + 5 CALS USD$1,463
- Process-isolated container limit: Unlimited
- Hyper-V-isolated container limit: 2