Miroslav Popovi miroslavpopovic https miroslavpopovic com Docker and

  • Slides: 18
Download presentation
Miroslav Popović @miroslavpopovic https: //miroslavpopovic. com Docker and ASP. NET Core Dragon source: https:

Miroslav Popović @miroslavpopovic https: //miroslavpopovic. com Docker and ASP. NET Core Dragon source: https: //www. flickr. com/photos/wili/2628869994/in/gallery-41926029@N 05 -72157622307278981/

Thank you to our AWESOME sponsors!

Thank you to our AWESOME sponsors!

Introduction

Introduction

What are containers • • • A stand-alone, executable software packages Encapsulates the app

What are containers • • • A stand-alone, executable software packages Encapsulates the app and dependencies Share the same OS kernel Isolate software from surroundings Build once, run everywhere Shipping containers paradigm

So, like Virtual Machines? • • No, more lightweight Runs as a process Smaller

So, like Virtual Machines? • • No, more lightweight Runs as a process Smaller Faster

Image vs. container images / layers Word. Press : Php wordpress: latest Php :

Image vs. container images / layers Word. Press : Php wordpress: latest Php : Debian php: 7. 2 -apache Debian : Scratch : System. Object debian: stretch-slim scratch Docker daemon machine container new Word. Press() > docker run Word. Press instance

Docker • • Open-Source Linux and Windows based Easy to use Fast Docker Hub

Docker • • Open-Source Linux and Windows based Easy to use Fast Docker Hub Modularity and scalability Docker compose

ASP. NET Core • • Open-source High performance Multi-platform The future of. NET ecosystem

ASP. NET Core • • Open-source High performance Multi-platform The future of. NET ecosystem

Demo

Demo

Dev Tools • • • Visual Studio Container Tools Extension for VS 2019 Docker

Dev Tools • • • Visual Studio Container Tools Extension for VS 2019 Docker extension for VS Code Setting Up a Developer Environment Using Docker by Sahil Malik

Visual Studio Code Remote - Containers • Docker container as dev environment

Visual Studio Code Remote - Containers • Docker container as dev environment

Docker Swarm / Kubernetes

Docker Swarm / Kubernetes

Closing up

Closing up

Scenarios • • • Running Linux software on Windows Using tools without installation Integration

Scenarios • • • Running Linux software on Windows Using tools without installation Integration testing • https: //jeremydmiller. com/2018/08/27/a-way-to-use-dockerfor-integration-tests/ • • CI/CD - Dev. Ops AWS or Azure deployment Microservices …

Problems • Most of them are not Docker related • Edge versions • Caching

Problems • Most of them are not Docker related • Edge versions • Caching • … • Community

What’s next? • • The rise of serverless https: //markheath. net/post/containers-versus-serverlessmicroservices Bare metal Virtual

What’s next? • • The rise of serverless https: //markheath. net/post/containers-versus-serverlessmicroservices Bare metal Virtual machines Containers Functions / Serverless

Further research • Docs • • https: //docs. docker. com/ ASP. NET Core docs

Further research • Docs • • https: //docs. docker. com/ ASP. NET Core docs - https: //docs. microsoft. com/en-us/aspnet/core/host-anddeploy/docker/ Pluralsight courses • https: //www. pluralsight. com/paths/managing-containers-with-docker • https: //stackify. com/a-start-to-finish-guide-to-docker-for-net/ • https: //www. hanselman. com/blog/Docker. Desktop. For. WSL 2 Integrates. Windows 10 And. Linux. E ven. Closer. aspx A start-to-finish guide to Docker for. NET by Daniel Hilgarth Docker Desktop for Windows Future - WSL 2 The death of Docker? by Maish Saidel-Keesing • https: //technodrone. blogspot. com/2019/02/goodbye-docker-and-thanks-for-all-fish. html • https: //github. com/miroslavpopovic/docker-aspnetcore-sample-2 Sample

Thank you! Questions?

Thank you! Questions?