Containers (Docker) in the New Windows...
Transcript of Containers (Docker) in the New Windows...
![Page 1: Containers (Docker) in the New Windows Serverdownload.microsoft.com/download/7/F/F/7FF9136F-2C56-4252...Containers (Docker) in the New Windows Server Ronald Beekelaar - ronald@virsoft.net](https://reader035.fdocuments.in/reader035/viewer/2022062414/5f0289007e708231d404beda/html5/thumbnails/1.jpg)
![Page 3: Containers (Docker) in the New Windows Serverdownload.microsoft.com/download/7/F/F/7FF9136F-2C56-4252...Containers (Docker) in the New Windows Server Ronald Beekelaar - ronald@virsoft.net](https://reader035.fdocuments.in/reader035/viewer/2022062414/5f0289007e708231d404beda/html5/thumbnails/3.jpg)
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
![Page 4: Containers (Docker) in the New Windows Serverdownload.microsoft.com/download/7/F/F/7FF9136F-2C56-4252...Containers (Docker) in the New Windows Server Ronald Beekelaar - ronald@virsoft.net](https://reader035.fdocuments.in/reader035/viewer/2022062414/5f0289007e708231d404beda/html5/thumbnails/4.jpg)
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
![Page 5: Containers (Docker) in the New Windows Serverdownload.microsoft.com/download/7/F/F/7FF9136F-2C56-4252...Containers (Docker) in the New Windows Server Ronald Beekelaar - ronald@virsoft.net](https://reader035.fdocuments.in/reader035/viewer/2022062414/5f0289007e708231d404beda/html5/thumbnails/5.jpg)
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
![Page 6: Containers (Docker) in the New Windows Serverdownload.microsoft.com/download/7/F/F/7FF9136F-2C56-4252...Containers (Docker) in the New Windows Server Ronald Beekelaar - ronald@virsoft.net](https://reader035.fdocuments.in/reader035/viewer/2022062414/5f0289007e708231d404beda/html5/thumbnails/6.jpg)
Datacenter changes Containers
![Page 7: Containers (Docker) in the New Windows Serverdownload.microsoft.com/download/7/F/F/7FF9136F-2C56-4252...Containers (Docker) in the New Windows Server Ronald Beekelaar - ronald@virsoft.net](https://reader035.fdocuments.in/reader035/viewer/2022062414/5f0289007e708231d404beda/html5/thumbnails/7.jpg)
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
![Page 8: Containers (Docker) in the New Windows Serverdownload.microsoft.com/download/7/F/F/7FF9136F-2C56-4252...Containers (Docker) in the New Windows Server Ronald Beekelaar - ronald@virsoft.net](https://reader035.fdocuments.in/reader035/viewer/2022062414/5f0289007e708231d404beda/html5/thumbnails/8.jpg)
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
![Page 9: Containers (Docker) in the New Windows Serverdownload.microsoft.com/download/7/F/F/7FF9136F-2C56-4252...Containers (Docker) in the New Windows Server Ronald Beekelaar - ronald@virsoft.net](https://reader035.fdocuments.in/reader035/viewer/2022062414/5f0289007e708231d404beda/html5/thumbnails/9.jpg)
Image Creation
Local Repository
Container Run-Time C:\Windows\*
![Page 10: Containers (Docker) in the New Windows Serverdownload.microsoft.com/download/7/F/F/7FF9136F-2C56-4252...Containers (Docker) in the New Windows Server Ronald Beekelaar - ronald@virsoft.net](https://reader035.fdocuments.in/reader035/viewer/2022062414/5f0289007e708231d404beda/html5/thumbnails/10.jpg)
Image Creation
Local Repository
Container View
Sandbox empty
![Page 11: Containers (Docker) in the New Windows Serverdownload.microsoft.com/download/7/F/F/7FF9136F-2C56-4252...Containers (Docker) in the New Windows Server Ronald Beekelaar - ronald@virsoft.net](https://reader035.fdocuments.in/reader035/viewer/2022062414/5f0289007e708231d404beda/html5/thumbnails/11.jpg)
Image Creation
Local Repository
Container View
Sandbox
C:\nodeJS
![Page 12: Containers (Docker) in the New Windows Serverdownload.microsoft.com/download/7/F/F/7FF9136F-2C56-4252...Containers (Docker) in the New Windows Server Ronald Beekelaar - ronald@virsoft.net](https://reader035.fdocuments.in/reader035/viewer/2022062414/5f0289007e708231d404beda/html5/thumbnails/12.jpg)
Image Creation
Local Repository
Container View
Sandbox C:\nodeJs
C:\nodeJS
![Page 13: Containers (Docker) in the New Windows Serverdownload.microsoft.com/download/7/F/F/7FF9136F-2C56-4252...Containers (Docker) in the New Windows Server Ronald Beekelaar - ronald@virsoft.net](https://reader035.fdocuments.in/reader035/viewer/2022062414/5f0289007e708231d404beda/html5/thumbnails/13.jpg)
Image Creation
Local Repository
Application Framework
Container View
![Page 14: Containers (Docker) in the New Windows Serverdownload.microsoft.com/download/7/F/F/7FF9136F-2C56-4252...Containers (Docker) in the New Windows Server Ronald Beekelaar - ronald@virsoft.net](https://reader035.fdocuments.in/reader035/viewer/2022062414/5f0289007e708231d404beda/html5/thumbnails/14.jpg)
Image Creation
Local Repository
Container View
Sandbox Empty
![Page 15: Containers (Docker) in the New Windows Serverdownload.microsoft.com/download/7/F/F/7FF9136F-2C56-4252...Containers (Docker) in the New Windows Server Ronald Beekelaar - ronald@virsoft.net](https://reader035.fdocuments.in/reader035/viewer/2022062414/5f0289007e708231d404beda/html5/thumbnails/15.jpg)
Image Creation
Local Repository
Container View
Sandbox
C:\myApp
![Page 16: Containers (Docker) in the New Windows Serverdownload.microsoft.com/download/7/F/F/7FF9136F-2C56-4252...Containers (Docker) in the New Windows Server Ronald Beekelaar - ronald@virsoft.net](https://reader035.fdocuments.in/reader035/viewer/2022062414/5f0289007e708231d404beda/html5/thumbnails/16.jpg)
Image Creation
Local Repository
Container View
Sandbox C:\myApp
C:\myApp
![Page 17: Containers (Docker) in the New Windows Serverdownload.microsoft.com/download/7/F/F/7FF9136F-2C56-4252...Containers (Docker) in the New Windows Server Ronald Beekelaar - ronald@virsoft.net](https://reader035.fdocuments.in/reader035/viewer/2022062414/5f0289007e708231d404beda/html5/thumbnails/17.jpg)
Image Creation
Local Repository
Container View
![Page 18: Containers (Docker) in the New Windows Serverdownload.microsoft.com/download/7/F/F/7FF9136F-2C56-4252...Containers (Docker) in the New Windows Server Ronald Beekelaar - ronald@virsoft.net](https://reader035.fdocuments.in/reader035/viewer/2022062414/5f0289007e708231d404beda/html5/thumbnails/18.jpg)
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
![Page 19: Containers (Docker) in the New Windows Serverdownload.microsoft.com/download/7/F/F/7FF9136F-2C56-4252...Containers (Docker) in the New Windows Server Ronald Beekelaar - ronald@virsoft.net](https://reader035.fdocuments.in/reader035/viewer/2022062414/5f0289007e708231d404beda/html5/thumbnails/19.jpg)
Why not use VMs for applications? • Size
– Lower density and efficiency
• Performance overhead
– Includes entire Windows OS inside VM
• Portability
![Page 20: Containers (Docker) in the New Windows Serverdownload.microsoft.com/download/7/F/F/7FF9136F-2C56-4252...Containers (Docker) in the New Windows Server Ronald Beekelaar - ronald@virsoft.net](https://reader035.fdocuments.in/reader035/viewer/2022062414/5f0289007e708231d404beda/html5/thumbnails/20.jpg)
Containers scenarios
Distributed Compute
𝑓 𝑥
Databases Web
Tasks Scale Out
![Page 21: Containers (Docker) in the New Windows Serverdownload.microsoft.com/download/7/F/F/7FF9136F-2C56-4252...Containers (Docker) in the New Windows Server Ronald Beekelaar - ronald@virsoft.net](https://reader035.fdocuments.in/reader035/viewer/2022062414/5f0289007e708231d404beda/html5/thumbnails/21.jpg)
Containers OS Server Core Nano Server
Born-in-the-cloud applications Traditional Applications
Highly Compatible Highly Optimized
![Page 22: Containers (Docker) in the New Windows Serverdownload.microsoft.com/download/7/F/F/7FF9136F-2C56-4252...Containers (Docker) in the New Windows Server Ronald Beekelaar - ronald@virsoft.net](https://reader035.fdocuments.in/reader035/viewer/2022062414/5f0289007e708231d404beda/html5/thumbnails/22.jpg)
How to build containers • Use existing running container, and "commit"
• Or use Dockerfile to specify build instructions
– Text-file starts with: "from <container>"
![Page 23: Containers (Docker) in the New Windows Serverdownload.microsoft.com/download/7/F/F/7FF9136F-2C56-4252...Containers (Docker) in the New Windows Server Ronald Beekelaar - ronald@virsoft.net](https://reader035.fdocuments.in/reader035/viewer/2022062414/5f0289007e708231d404beda/html5/thumbnails/23.jpg)
Two isolation models • Windows Server Containers
• Hyper-V Containers
![Page 24: Containers (Docker) in the New Windows Serverdownload.microsoft.com/download/7/F/F/7FF9136F-2C56-4252...Containers (Docker) in the New Windows Server Ronald Beekelaar - ronald@virsoft.net](https://reader035.fdocuments.in/reader035/viewer/2022062414/5f0289007e708231d404beda/html5/thumbnails/24.jpg)
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
![Page 25: Containers (Docker) in the New Windows Serverdownload.microsoft.com/download/7/F/F/7FF9136F-2C56-4252...Containers (Docker) in the New Windows Server Ronald Beekelaar - ronald@virsoft.net](https://reader035.fdocuments.in/reader035/viewer/2022062414/5f0289007e708231d404beda/html5/thumbnails/25.jpg)
Manage containers • Use PowerShell
• Use Docker tools
• Use other tools
Container Management PowerShell Others Docker
![Page 26: Containers (Docker) in the New Windows Serverdownload.microsoft.com/download/7/F/F/7FF9136F-2C56-4252...Containers (Docker) in the New Windows Server Ronald Beekelaar - ronald@virsoft.net](https://reader035.fdocuments.in/reader035/viewer/2022062414/5f0289007e708231d404beda/html5/thumbnails/26.jpg)
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
![Page 27: Containers (Docker) in the New Windows Serverdownload.microsoft.com/download/7/F/F/7FF9136F-2C56-4252...Containers (Docker) in the New Windows Server Ronald Beekelaar - ronald@virsoft.net](https://reader035.fdocuments.in/reader035/viewer/2022062414/5f0289007e708231d404beda/html5/thumbnails/27.jpg)
Ignite - Presentation • See:
– https://channel9.msdn.com/events/ignite/2015/brk2493
![Page 28: Containers (Docker) in the New Windows Serverdownload.microsoft.com/download/7/F/F/7FF9136F-2C56-4252...Containers (Docker) in the New Windows Server Ronald Beekelaar - ronald@virsoft.net](https://reader035.fdocuments.in/reader035/viewer/2022062414/5f0289007e708231d404beda/html5/thumbnails/28.jpg)
Questions? • Or connect to [email protected]
![Page 29: Containers (Docker) in the New Windows Serverdownload.microsoft.com/download/7/F/F/7FF9136F-2C56-4252...Containers (Docker) in the New Windows Server Ronald Beekelaar - ronald@virsoft.net](https://reader035.fdocuments.in/reader035/viewer/2022062414/5f0289007e708231d404beda/html5/thumbnails/29.jpg)
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.
![Page 30: Containers (Docker) in the New Windows Serverdownload.microsoft.com/download/7/F/F/7FF9136F-2C56-4252...Containers (Docker) in the New Windows Server Ronald Beekelaar - ronald@virsoft.net](https://reader035.fdocuments.in/reader035/viewer/2022062414/5f0289007e708231d404beda/html5/thumbnails/30.jpg)