Slide 1

Slide 1 text

Docker Changes the Way You Develop and Release Your Scalable Solutions Tugberk Ugurlu Redgate Software @tourismgeek http://tugberkugurlu.com #itakeunconf

Slide 2

Slide 2 text

@tourismgeek tugberkugurlu.com github.com/tugberkugurlu stackoverflow.com/users/463785/tugberk

Slide 3

Slide 3 text

@redgate

Slide 4

Slide 4 text

The Problem

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

Inconsistent Environments

Slide 8

Slide 8 text

Result • Hard Onboarding • Hard to Set up Different Environments • Different Deployment Needs for Each Tech • Hard to Reproduce Issues

Slide 9

Slide 9 text

What’s Docker? https://www.docker.com/what-docker

Slide 10

Slide 10 text

What’s Docker? • Containerization • Provides Good Isolation • Consistent Environments

Slide 11

Slide 11 text

Docker Family • Docker • Docker Compose • Docker Machine • Docker Swarm • Docker Registry

Slide 12

Slide 12 text

docker run ubuntu /bin/echo 'Hello world' https://docs.docker.com/engine/userguide/containers/dockerizing/

Slide 13

Slide 13 text

Packaging Your Application https://github.com/tugberkugurlu/AspNetCoreSamples/blob/master/rabbitmq-sample/rabbitsample.dockerfile

Slide 14

Slide 14 text

$ docker build -t example-app -f rabbitsample.dockerfile .

Slide 15

Slide 15 text

Packaging Dev Tools https://github.com/BenHall/docker-awscli/blob/master/Dockerfile

Slide 16

Slide 16 text

No content

Slide 17

Slide 17 text

Docker Registry https://hub.docker.com

Slide 18

Slide 18 text

No content

Slide 19

Slide 19 text

Docker Compose https://docs.docker.com/compose

Slide 20

Slide 20 text

docker-compose.yml

Slide 21

Slide 21 text

Demo docker-compose up https://github.com/tugberkugurlu/AspNetCoreSamples/tree/itakeu16/rabbitmq-sample

Slide 22

Slide 22 text

Complete Example

Slide 23

Slide 23 text

zleek.com

Slide 24

Slide 24 text

Embrace Polyglot Persistence http://martinfowler.com/bliki/PolyglotPersistence.html

Slide 25

Slide 25 text

Traditional Look MySuperShoppingApp My GIANT RDBMS Shopping Cart

Slide 26

Slide 26 text

Polyglot Persistence Look MySuperShoppingApp MongoDB Elasticsearc h Neo4j SQL Server

Slide 27

Slide 27 text

LB zleek-0 zleek-1 zleek-n mongodb neo4j elasticsearch rabbitmq recipe-generation-worker-0 recipe-sync-worker-0 food-sync-worker-0 store-sync-worker-0 recipe-generation-worker-1 recipe-generation-worker-n recipe-sync-worker-n recipe-sync-worker-0

Slide 28

Slide 28 text

No content

Slide 29

Slide 29 text

No content

Slide 30

Slide 30 text

No content

Slide 31

Slide 31 text

No content

Slide 32

Slide 32 text

No content

Slide 33

Slide 33 text

No content

Slide 34

Slide 34 text

Demo

Slide 35

Slide 35 text

Deployments

Slide 36

Slide 36 text

No content

Slide 37

Slide 37 text

http://www.infoworld.com/article/3040475/application-virtualization/4-no-bull-takeaways-about-docker-cloud.html