08448380779 Call Girls In Friends Colony Women Seeking Men
From zero to hero with Docker
1. From zero to hero with Docker
Running your ASP.NET 5 application in a Docker
container
2. Who am I?
• Maurice de Beijer
• The Problem Solver
• Microsoft Azure MVP
• Freelance developer/instructor
• Twitter: @mauricedb, @React_Tutorial
• Web: http://www.TheProblemSolver.nl
• E-mail: maurice.de.beijer@gmail.com
3.
4. 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
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/
Not everything is namespaced yet
Users are not => security
https://www.flickr.com/photos/kewl/8576064449
Contains many ready to use images
Upload your own
A Docker file to create an image with NodeJS
https://www.flickr.com/photos/nyuhuhuu/4443886636/
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
Creating a Docker container with a CoreCLR application
Creating a Docker container with a CoreCLR application
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/
Creating Docker images
Using Docker commands
Using PowerShell
https://www.flickr.com/photos/jemimus/7048887071