SlideShare a Scribd company logo
From zero to hero with Docker
Maurice de Beijer
@mauricedb
Running your ASP.NET Core 1 application in a
Docker container
Who am I?
• Maurice de Beijer
• The Problem Solver
• Microsoft Azure MVP
• Freelance developer/instructor
• Twitter: @mauricedb and @React_Tutorial
• Web: http://www.TheProblemSolver.nl
• E-mail: maurice.de.beijer@gmail.com
2
3
4
5
Overview
• What are containers
• What is Docker
• Creating and running Docker images
• Running an ASP.NET Core 1.0 App
– In a Linux container
– In a Windows container
• But we need more
6
What is a container?
7
Once upon a ship
8
Loading cargo the old way 9
A container ship these days
10
Loading is a bit faster
11
Running virtual machines
12
Virtual Machines vs Containers
13
Namespaces & cgroups
14
15
What is Docker?
16
Docker Hub
17
Buildingcontainers
18
Containerantipattern
19
Orchestration
20
DockerCompose
21
ASP.NETCore1.0App
onLinux
22
DockerToolsfor
VisualStudio2015
23
DockerToolsfor
VisualStudio2015
24
DockeronWindows
25
26
ASP.NET
Windowscontainer
27
ASP.NETCore1.0App
onWindows
28
Containers can be great…
29
30
31
32
33
34
35
36
37
38
39
40

More Related Content

PPTX
What is new in ASP.NET Core
PPTX
PPTX
Analizzare le performance di un'applicazione ASP.NET con Glimpse
PPTX
DotNetCampus - Analizzare le performance di un'applicazione asp.net con Glimpse
PPTX
Demand driven applications with om.next and react native
PPTX
Super tools to boost productivity in React dev env!
PDF
Reactjs workshop (1)
PPTX
Interoperability of components built with different frameworks
What is new in ASP.NET Core
Analizzare le performance di un'applicazione ASP.NET con Glimpse
DotNetCampus - Analizzare le performance di un'applicazione asp.net con Glimpse
Demand driven applications with om.next and react native
Super tools to boost productivity in React dev env!
Reactjs workshop (1)
Interoperability of components built with different frameworks

What's hot (20)

PDF
Introduction to React Native
PPTX
ASP.NET Core 2.0: The Future of Web Apps
PDF
Isomorphic javascript - Uppsala.js #8
PDF
Ivan Jovanovic - Micro Frontends - Codemotion Rome_2019
PDF
How to sell SilverStripe in the enterprise and public sector markets - Stripe...
PDF
Micro frontends with react and redux dev day
PDF
Testing apps with MTM and Tea Foundation Service
PDF
Use html5 to build what you want, where you want it
PPTX
Asp.net mvc 4
PPTX
5 'Real-world' Reasons to Go Headless by Devotion
PDF
React Webinar With CodePolitan
PPTX
Build fast word press site in react in 30 mins with frontity
PPSX
Pipeline de deploy com ASP.NET Core e VSTS
PDF
Why you should consider a microframework for your next web project
PPTX
The Complete React Learning Course
PPTX
WebMatrix
PPTX
ODP
Wicket And Swing From One Codebase
PPTX
Visual Studio: The best tool for web developers.
PPTX
Web Based Development Introduction
Introduction to React Native
ASP.NET Core 2.0: The Future of Web Apps
Isomorphic javascript - Uppsala.js #8
Ivan Jovanovic - Micro Frontends - Codemotion Rome_2019
How to sell SilverStripe in the enterprise and public sector markets - Stripe...
Micro frontends with react and redux dev day
Testing apps with MTM and Tea Foundation Service
Use html5 to build what you want, where you want it
Asp.net mvc 4
5 'Real-world' Reasons to Go Headless by Devotion
React Webinar With CodePolitan
Build fast word press site in react in 30 mins with frontity
Pipeline de deploy com ASP.NET Core e VSTS
Why you should consider a microframework for your next web project
The Complete React Learning Course
WebMatrix
Wicket And Swing From One Codebase
Visual Studio: The best tool for web developers.
Web Based Development Introduction
Ad

Viewers also liked (20)

PPTX
“La relación entre las tasas de divorcio y el aumento de Delincuentes."
PPT
Fire Starter Part 2
PPT
Contencioso Tributario
DOCX
Guia 5 multiplicación de enteros
PDF
Font Ideas
PDF
Relation and function
PDF
TV Advert: Pre-production Paperwork
PDF
เมทริกซ์ระดับชั้นมัธยมปลาย(Matrix)
PDF
Exponential and logarithm function
PDF
Trigonometry1
PPTX
El contencioso tributario UFT
PDF
Real Number(ระบบจำนวนจริง)
PDF
UNC Center for Heart & Vascular Care 'Go Red For Women' 2015
PPTX
BREATHING APPARATUS
PDF
From zero to Docker
PDF
Easy applications deployment on OpenStack clouds
PPTX
Docker, From zero to hero
PDF
Dockers zero to hero - (medium version)
PDF
PDF
Docker: from zero to nonzero
“La relación entre las tasas de divorcio y el aumento de Delincuentes."
Fire Starter Part 2
Contencioso Tributario
Guia 5 multiplicación de enteros
Font Ideas
Relation and function
TV Advert: Pre-production Paperwork
เมทริกซ์ระดับชั้นมัธยมปลาย(Matrix)
Exponential and logarithm function
Trigonometry1
El contencioso tributario UFT
Real Number(ระบบจำนวนจริง)
UNC Center for Heart & Vascular Care 'Go Red For Women' 2015
BREATHING APPARATUS
From zero to Docker
Easy applications deployment on OpenStack clouds
Docker, From zero to hero
Dockers zero to hero - (medium version)
Docker: from zero to nonzero
Ad

Similar to From zero to hero with Docker (20)

PPTX
From zero to hero with docker
PPTX
From zero to hero with Docker
PPTX
Docker, From zero to hero
PPTX
From zero to hero with running your asp.net core 1 application in a docker co...
PPTX
The busy developers guide to Docker
PPTX
The busy developer guide to Docker
PPTX
The busy developer guide to Docker - Maurice de Beijer - Codemotion Rome 2017
PPTX
Docker for .NET Developers
PPTX
Dockerization of Azure Platform
PDF
Docker on azure
PDF
Docker Overview
PPTX
2019 05 - Exploring Container Offerings in Azure
PPTX
Docker-Intro
PPTX
Docker for developers - The big picture
PPTX
Docker for a .NET web developer
PDF
Experts Live Europe 2017 - Why you should care about Docker - an introduction
PPTX
Architecting .NET Applications for Docker and Container Based Deployments
PDF
Containers docker-docker hub-azureacr-azure aci
PPTX
Docker intro
PDF
Power your move to the cloud 20180611
From zero to hero with docker
From zero to hero with Docker
Docker, From zero to hero
From zero to hero with running your asp.net core 1 application in a docker co...
The busy developers guide to Docker
The busy developer guide to Docker
The busy developer guide to Docker - Maurice de Beijer - Codemotion Rome 2017
Docker for .NET Developers
Dockerization of Azure Platform
Docker on azure
Docker Overview
2019 05 - Exploring Container Offerings in Azure
Docker-Intro
Docker for developers - The big picture
Docker for a .NET web developer
Experts Live Europe 2017 - Why you should care about Docker - an introduction
Architecting .NET Applications for Docker and Container Based Deployments
Containers docker-docker hub-azureacr-azure aci
Docker intro
Power your move to the cloud 20180611

More from Maurice De Beijer [MVP] (20)

PPTX
Full-stack App in half a Day: Next.js 15 Development Bootcamp
PPTX
Production-ready Next.js App with Cursor AI
PPTX
Building Robust Web Applications with Test-Driven Development and Playwright:...
PDF
Mastering React Server Components and Server Actions in React 19
PPTX
Practice TypeScript Techniques Building React Server Components App
PPTX
A foolproof Way to Estimate a Software Project
PPTX
Surati Tech Talks 2022 / Build reliable Svelte applications using Cypress
PPTX
Build reliable Svelte applications using Cypress
PPTX
Building Reliable Applications Using React, .NET & Azure
PPTX
Concurrent Rendering Adventures in React 18
PPTX
Building reliable applications with React, C#, and Azure
PPTX
Building large and scalable mission critical applications with React
PPTX
Building Reliable Applications Using React, .NET & Azure
PPTX
Why I am hooked on the future of React
PPTX
Building reliable web applications using Cypress
PPTX
Getting started with React Suspense and concurrent rendering
PPTX
React suspense, not just for Alfred Hitchcock
PPTX
From zero to hero with the Reactive extensions for JavaScript
PPTX
Why I am hooked on the future of React
PPTX
The new React
Full-stack App in half a Day: Next.js 15 Development Bootcamp
Production-ready Next.js App with Cursor AI
Building Robust Web Applications with Test-Driven Development and Playwright:...
Mastering React Server Components and Server Actions in React 19
Practice TypeScript Techniques Building React Server Components App
A foolproof Way to Estimate a Software Project
Surati Tech Talks 2022 / Build reliable Svelte applications using Cypress
Build reliable Svelte applications using Cypress
Building Reliable Applications Using React, .NET & Azure
Concurrent Rendering Adventures in React 18
Building reliable applications with React, C#, and Azure
Building large and scalable mission critical applications with React
Building Reliable Applications Using React, .NET & Azure
Why I am hooked on the future of React
Building reliable web applications using Cypress
Getting started with React Suspense and concurrent rendering
React suspense, not just for Alfred Hitchcock
From zero to hero with the Reactive extensions for JavaScript
Why I am hooked on the future of React
The new React

Recently uploaded (20)

PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
KodekX | Application Modernization Development
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
[발표본] 너의 과제는 클라우드에 있어_KTDS_김동현_20250524.pdf
PDF
Advanced Soft Computing BINUS July 2025.pdf
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
cuic standard and advanced reporting.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPT
Teaching material agriculture food technology
PDF
Approach and Philosophy of On baking technology
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
GamePlan Trading System Review: Professional Trader's Honest Take
PDF
Empathic Computing: Creating Shared Understanding
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Understanding_Digital_Forensics_Presentation.pptx
KodekX | Application Modernization Development
Reach Out and Touch Someone: Haptics and Empathic Computing
[발표본] 너의 과제는 클라우드에 있어_KTDS_김동현_20250524.pdf
Advanced Soft Computing BINUS July 2025.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Chapter 3 Spatial Domain Image Processing.pdf
cuic standard and advanced reporting.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
Mobile App Security Testing_ A Comprehensive Guide.pdf
The AUB Centre for AI in Media Proposal.docx
NewMind AI Weekly Chronicles - August'25 Week I
Teaching material agriculture food technology
Approach and Philosophy of On baking technology
Spectral efficient network and resource selection model in 5G networks
Diabetes mellitus diagnosis method based random forest with bat algorithm
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
GamePlan Trading System Review: Professional Trader's Honest Take
Empathic Computing: Creating Shared Understanding
CIFDAQ's Market Insight: SEC Turns Pro Crypto

From zero to hero with Docker

Editor's Notes

  • #4: https://www.flickr.com/photos/25143217@N05/3468038614/
  • #5: https://www.flickr.com/photos/faceme/7466333558/
  • #6: https://www.flickr.com/photos/sierag
  • #7: https://www.flickr.com/photos/quinnanya/5046072204/
  • #8: A single lift takes 40 tons of cargo https://www.flickr.com/photos/glynlowe/14369663877
  • #9: Ships where not very efficient when loading/unloading
  • #10: A lot of people where needed to move cargo in small units
  • #11: Large container ships move unknown cargo very efficiently https://www.flickr.com/photos/rhemkes/15398653092
  • #12: Loading is much more efficient because of standard container sizes https://www.flickr.com/photos/anaulin/1047673820
  • #13: https://www.flickr.com/photos/prayitnophotography/4655585356
  • #14: Initial release13 March 2013
  • #15: Containers are based on Linux namespaces and cgroups Namespaces create separation The root can see everything Containers can only see things in their own namespace Existed before Docker Docker just makes things easier https://www.flickr.com/photos/prettybipolar/6938332165/
  • #16: Not everything is namespaced yet Users are not => security https://www.flickr.com/photos/kewl/8576064449
  • #18: Contains many ready to use images Upload your own
  • #19: A Docker file to create an image with NodeJS https://www.flickr.com/photos/nyuhuhuu/4443886636/
  • #20: Containers should run one main executable. It stop and the container is done The main program receives a SIGTERM signal when the container needs to stop
  • #21: https://www.flickr.com/photos/frederikmagle/7026769687
  • #22: Creating a Docker container with a CoreCLR application
  • #23: Creating a Docker container with a CoreCLR application
  • #24: Creating a Docker container with a CoreCLR application
  • #25: Creating a Docker container with a CoreCLR application
  • #26: Windows Server Containers Very much like the Linux Docker containers Available on site or in Azure Hyper-V Container More like a virtual machine then a traditional container Only available on site https://www.flickr.com/photos/schmollmolch/9816042533/
  • #27: Creating Docker images Using Docker commands Using PowerShell https://www.flickr.com/photos/jemimus/7048887071
  • #33: https://www.flickr.com/photos/pfly/199823544/
  • #40: https://www.flickr.com/photos/krupptastic/4738992473
  • #41: https://www.flickr.com/photos/ell-r-brown/7160371456