Containers (Docker) in the New Ronald Beekelaar - [email protected] Introduction • Presenter – MCT - since 19 years – MVP technology - since 12 years – E-mail: [email protected]

• Work – Virsoft Solutions – Provide hosted Hyper-V lab and demo solutions • See www.virsoft.net – 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" – 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 "-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 Container Repository C:\Windows\* Run-Time Image Creation

Sandbox empty

Local Container Repository View Image Creation C:\nodeJS

Sandbox

Local Container Repository View Image Creation C:\nodeJS

Sandbox C:\nodeJs

Local Container Repository View Image Creation

Application Framework

Local Container Repository View Image Creation

Sandbox Empty

Local Container Repository View Image Creation C:\myApp

Sandbox

Local Container Repository View Image Creation C:\myApp

Sandbox C:\myApp

Local Container Repository View Image Creation

Local Container Repository View What is Docker? • Technology exists long time – 2000: FreeBSD jails – Aug 2008: Containers LXC – Mar 2013: Docker

• Management of containers

has : 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

Scale Out Tasks Containers OS Nano Server Server Core

Highly Optimized Highly Compatible

Born-in-the-cloud applications Traditional Applications How to build containers • Use existing running container, and "commit"

• Or use Dockerfile to specify build instructions – Text-file starts with: "from " Two isolation models • Windows Server Containers • Hyper-V Containers Run containers anywhere • On-premises / private cloud / Azure

Hyper-V Container Server Hyper-V Container

Virtual Machine Hyper-V Container Server Hyper-V Hypervisor Container

Physical Machine Manage containers • Use PowerShell • Use Docker tools • Use other tools Container Management PowerShell Docker Others 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.