Slide 1

Slide 1 text

6 December 2017 | Jakob Højgaard

Slide 2

Slide 2 text

01 What is Docker 02 Why should I care 03 Docker 101 04 Compose 05 Orchestration – Mesos, DC/OS, Kubernetes

Slide 3

Slide 3 text

“ Jakob Højgaard Software developers Swiss Army knife, farther of three, brewer, rookie surfer, Consultant at Readify

Slide 4

Slide 4 text

What is Docker Virtualization of applications not OS December 17 Introduction to Docker

Slide 5

Slide 5 text

This is achieved by > cgroups - Manages recourse usage > namespaces – resource isolation > On Linux everything is (represented) as a file December 17

Slide 6

Slide 6 text

Why should I care? > Lightweight virtualization > Better utilization of hardware > Immutable deployments > Test the actual container before shipping > Fast scale out/orchestration > With Swarm, Mesos or Kubernetes > One-off tasks > Fast setup of environment for specific test or task December 17

Slide 7

Slide 7 text

Docker 101 December 17

Slide 8

Slide 8 text

Containers and Images > Like objects and classes > Images are… > Layered – Union filesystem > From DOCKERFILE > Containers can be shipped > Multiple instances > Across a cluster of machines December 17

Slide 9

Slide 9 text

How it works December 17

Slide 10

Slide 10 text

Building an image > Dockerfile > Specifies base image > Specifies a set of commands to run to build the app December 17

Slide 11

Slide 11 text

Hello World Demo https://github.com/hgaard/intro-to-docker/tree/master/src/aspnet-core-simple

Slide 12

Slide 12 text

Docker on Windows > Same Docker > Images/containers are windows specific > Built on new native container tech in windows 2016 December 17

Slide 13

Slide 13 text

Developer dependencies > SQL server > redis > Seq > ElasticSearch > Oracle > One-off tools December 17

Slide 14

Slide 14 text

Composing apps > Docker compose > Defines relations/dependencies between containers > How to retrieve/build them > Network between them > Defines volumes December 17

Slide 15

Slide 15 text

Hello Compose Demo https://github.com/hgaard/intro-to-docker/tree/master/src/aspnet-core-sql-server

Slide 16

Slide 16 text

Orchestration > Kubernetes > Swarm > DC/OS > Solves the problem of managing a cluster December 17

Slide 17

Slide 17 text

Where could your business profit from Docker > Dev dependencies (Redis/Sql Server/Oracle) > Easy dev setup (build internal services) > Dev environments December 17

Slide 18

Slide 18 text

Get into it > I did a workshop with my colleague Tod Thomson that you can go through > https://github.com/todthomson/intro-to- linux-dotnetcore-docker > A docker specific version > https://github.com/hgaard/intro-to- docker > Docker from scratch (Aaron Powell) > https://www.youtube.com/watch?v=i7yoX qlg48M December 17

Slide 19

Slide 19 text

No content

Slide 20

Slide 20 text

Thank you | readify.net