Jun 05, 2020
Containers (Docker) in the
New Windows Server Ronald Beekelaar - [email protected]
Introduction • Presenter
– MCT - since 19 years – MVP Virtual Machine technology - since 12 years – E-mail: [email protected]
• Work – Virsoft Solutions – Provide hosted Hyper-V lab and demo solutions
• See www.virsoft.net
– Virtualization consultancy
Session Objectives • Help you understand what Containers are
• Note: Containers are not in currently available Windows Server 2016 TP2
– Will be in TP3 "this summer"
– Microsoft Web site available since 11-May-2015
Topics • What are Containers? • Concepts • What is Docker? • Two Isolation Models
– Windows Server Containers / Hyper-V Containers
• Resources
• Not: live demo • Not: available today in Windows
Datacenter changes Containers
What are Containers • Different approach for virtualization
• Is "operating system-level virtualization"
– Compare with VM: machine-level virtualization
• Fast: can deploy application within seconds
• Small: increase density and efficiency
– Run multiple containers within single cloud VM
Concepts • Run applications
– Compare: in OS / in VM / in App-V / in Container
• Repository
– Contains images
• Layers
– Images are read-only ("immutable")
– Write to sandbox
Image Creation
Local Repository
Container Run-Time C:\Windows\*
Image Creation
Local Repository
Container View
Sandbox empty
Image Creation
Local Repository
Container View
Sandbox
C:\nodeJS
Image Creation
Local Repository
Container View
Sandbox C:\nodeJs
C:\nodeJS
Image Creation
Local Repository
Application Framework
Container View
Image Creation
Local Repository
Container View
Sandbox Empty
Image Creation
Local Repository
Container View
Sandbox
C:\myApp
Image Creation
Local Repository
Container View
Sandbox C:\myApp
C:\myApp
Image Creation
Local Repository
Container View
What is Docker? • Technology exists long time
– 2000: FreeBSD jails – Aug 2008: Linux Containers LXC – Mar 2013: Docker
• Management of containers
• Google has lmctfy: let-me-contain-that-for-you
Why not use VMs for applications? • Size
– Lower density and efficiency
• Performance overhead
– Includes entire Windows OS inside VM
• Portability
Containers scenarios
Distributed Compute
𝑓 𝑥
Databases Web
Tasks Scale Out
Containers OS Server Core Nano Server
Born-in-the-cloud applications Traditional Applications
Highly Compatible Highly Optimized
How to build containers • Use existing running container, and "commit"
• Or use Dockerfile to specify build instructions
– Text-file starts with: "from <container>"
Two isolation models • Windows Server Containers
• Hyper-V Containers
Run containers anywhere
Physical Machine
Hyper-V Hypervisor Server
Container
Virtual Machine Hyper-V Container
Hyper-V Container Server
Container Hyper-V Hypervisor
• On-premises / private cloud / Azure
Manage containers • Use PowerShell
• Use Docker tools
• Use other tools
Container Management PowerShell Others Docker
Resources • Windows Server Containers
– Available in Windows Server TP3 "this summer"
• Hyper-V Containers
– Available "later this year"
• Container information: – https://msdn.microsoft.com/virtualization/windowscontainers
– http://aka.ms/windowscontainers
Ignite - Presentation • See:
– https://channel9.msdn.com/events/ignite/2015/brk2493
Questions? • Or connect to [email protected]
Your feedback is important!
Scan the QR Code and let us know via the TechDays App.
Laat ons weten wat u van de sessie vindt via de TechDays App!
Scan de QR Code.
Bent u al lid van de Microsoft Virtual Academy?! Op MVA kunt u altijd iets nieuws leren over de laatste technologie van Microsoft. Meld u vandaag aan op de MVA Stand. MVA biedt 7/24 gratis online training on-demand voor IT-Professionals en Ontwikkelaars.