dotnet

on

docker

on

Linux

dotnetdays 2019

Me

  • Bullet One
  • Bullet Two
  • Bullet Three

The workshop

  • Breaks

  • Questions

  • Setup

  • Expectations

The workshop

  • What docker is

  • DIY images

  • Troubleshooting

  • docker-compose

  • dotnet running in docker

Linux

-

.NET

  • mmm C#
  • only Windows

dotnet core

  • mmm Linux and C# <3
  • portable
  • easier CLI

Software

  • Anyone?
  • Source code
  • Binaries
  • Config
  • Neighbours
  • Environments

Environments

  • Different teams
  • Different stages
  • Different needs

Environments

  • Server-side development
  • Client-side development
  • Test development
  • Integration
  • Operations

Environments

  • OS version, updates
  • Runtime (JRE, dotnet, NodeJS)
  • Databases
  • Other tools
  • All of the above

Environments

  • Newbie on a project
  • Who's gonna set him up?
  • Guaranteed fun times
  • Environment in version control

docker

  • Contanerising software platform
  • "Enables independence between apps"
  • What does it mean though

docker

  • Not a new concept
  • Other solutions out there
  • Linux kernel black magic

https://www.docker.com/resources/what-container

docker

support

  • Linux (CentOS, Deian, etc)
  • OSX
  • Windows
  • Azure, AWS, GC, etc

docker

why?

  • simplify configuration
  • host-agnostic
  • immutable
  • isolation

docker

where?

  • development environments
  • build servers
  • ?

docker

vocabulary

  • images
  • containers
  • registry

https://docs.docker.com/engine/docker-overview/

Going forward

  • orchestrators
  • cloud native
  • monitoring

Orchestrators

  • docker swarm
  • Mesos + Marathon
  • Kubernetes

Orchestrators

Cloud, etc.

  • AWS: ACS, AKS
  • Azure: Kubernetes, docker-swarm
  • Google Cloud
  • Other providers

Monitoring

  • Health-checks
  • Centralised logging
  • Metrics

References

dotnet core

References

docker introduction

References

docker images

References

code samples

References

extra

Thank you!

Made with Slides.com