dockerizing asp.net apps

13
Dockerizing ASP.NET Apps Anuraj P MVP VSDT Lead Developer @ Suyati

Upload: anuraj-p

Post on 21-Feb-2017

66 views

Category:

Engineering


0 download

TRANSCRIPT

Page 1: Dockerizing asp.net apps

Dockerizing ASP.NET AppsAnuraj PMVP VSDTLead Developer @ Suyati

Page 2: Dockerizing asp.net apps

What is Docker?Docker is an open-source project that automates the deployment of applications inside software containers.

Page 3: Dockerizing asp.net apps

Container v/s VM

Page 4: Dockerizing asp.net apps

Container Architecture

Operating System

Docker Engine

REST Interface

Docker Client Docker Compose Docker Swarm moreDocker Registry

Page 5: Dockerizing asp.net apps
Page 6: Dockerizing asp.net apps

DockerfileEach Dockerfile is a script, composed of various commands (instructions) and arguments listed successively to automatically perform actions on a base image in order to create a new one.

Page 7: Dockerizing asp.net apps

Dockerfile• Base Image• Install dependencies• Build application• Specify entry point

Page 8: Dockerizing asp.net apps

Dockerfile

Page 9: Dockerizing asp.net apps

CD Pipeline• Build the image – Docker build• Published to Docker Hub• Pulled to all the environment –

QA, Staging, Production.

Page 10: Dockerizing asp.net apps

Windows Containers• Windows Server 2016• Windows Server• Nano Server (Strip down version of Windows)

• Windows 10 – Anniversary Update

Page 11: Dockerizing asp.net apps

Dockerfile for ASP.NET

Page 12: Dockerizing asp.net apps

Windows Containers• Demo• Kitematic – UI for Docker CLI

Page 13: Dockerizing asp.net apps

Questions?