Windows brings Docker Goodness - What does it mean for .NET developers?

Post on 15-Apr-2017

283 views 0 download

Transcript of Windows brings Docker Goodness - What does it mean for .NET developers?

Windows Brings Docker Goodness@NaeemSarfraz#DDDScot Edinburgh

What can you expect?

▪ Learn all about what Containers are and why they exist▪ How they will work in Windows▪ The tools you’ll use (right now) to develop using them– Including Visual Studio

▪ Lots of demos running Containers using Docker + PowerShell

▪ Not covering the Orchestration of Containers▪ Disclaimer: No guarantee demos will work as we’re

using Beta\Technical Preview software

Who am I?

Solutions Architect @ Barrett Steel10+ years .Net DeveloperLearn(new Things()).Like()Play(Archery).Add(Horseriding}.Like()

@NaeemSarfrazhttp://naeemsarfraz.net

http://bit.ly/1Tas78c

http://bit.ly/1rn0phS

http://bit.ly/1mM76oc

http://bit.ly/1rEropQ http://bit.ly/1VWxEG9

http://bit.ly/1rn5DKH

Enter Windows Server 2016

The Different Flavours

▪ Windows Server Core▪ Windows Server Nano

Windows Server Nano

▪ Optimised for the cloud▪ 20X smaller than WS Core▪ 80% fewer reboots▪ 92% fewer critical bulletins▪ Can be used as a:

– Container Host– File Server– DNS Server– IIS Server

Containers Support in Windows Server 2016

Windows Server Containers Hyper-V Containers

TRUSTED UNTRUSTED

Demo: Let’s run a Container using Docker

Demo: Let’s run a Container using Powershell

Demo: Deploy an ASP.NET Core app

Demo: Visual Studio Tooling

Development Workflow

Deploy from

Registry

Push Docker

Image to Registry

Integration Tests

Build Code & Docker

Image

Write & Commit

Code

Docker for Windows

Docker Toolbox

Docker Toolbox

▪ Docker Engine– CLI to manage your Containers

▪ Kitematic– GUI version of the Docker Engine

▪ Docker Registry– Collection of [non-]official Container images

▪ Docker Compose– Define multi-container application in one file

▪ Docker Machine– Helps to provision a host, and setup client tools

▪ Docker Swarm– Treat multiple hosts as a cluster

Orchestration

▪ Docker Compose▪ Docker Swarm▪ Others– Helios from Spotify– Mesos from MesoSphere– Kubernetes from Google

▪ PaaS– Azure Container Service– Google Container Engine– Amazon EC2 Container Service

Timeline and Upcoming Features

▪ Windows Server– No support for HyperV containers…yet

▪ Visual Studio– F5 launch, Edit & Refresh - now– Debugging – coming next– Addin update for Windows Container – late Q2\early Q3

▪ Docker Toolbox– Beta program launched - April– Support for Windows Containers - later this year

▪ Containers to run desktop apps?

Thank You

Any Questions?

Slides available at http://naeemsarfraz.net/speaking

t: @NaeemSarfraze: Naeem.Sarfraz@gmail.com