introduction to docker

17
By Emil Stenqvist, @svammel An introduction

Upload: emil-stenqvist

Post on 18-Nov-2014

1.586 views

Category:

Technology


4 download

DESCRIPTION

How we deploy and develop software has significantly changed. This has given rise to a number of problems that affect things like the time to ship and stability of the final product. I describe how Docker provides remedy!

TRANSCRIPT

Page 1: Introduction to Docker

By Emil Stenqvist, @svammel

An introduction

Page 2: Introduction to Docker

Some background

Page 3: Introduction to Docker

Things have changed

Page 4: Introduction to Docker

The Matrix From Hell

Page 5: Introduction to Docker

When programming...

1. Avoid globals2. Keep separate concerns separate (SoC)3. Be explicit about dependencies

Page 6: Introduction to Docker

State and determinism

Page 7: Introduction to Docker

Containment andreproducibility

Page 8: Introduction to Docker

Typical Provisioning

1. Define your server state using e.g. Chef2. Run on a “dirty” server3. Resulting state is unknown, but hopefully

works.

Page 9: Introduction to Docker

We run our software on operating systems conceived in 1980.

Page 10: Introduction to Docker

Ship software as a whole

Page 11: Introduction to Docker
Page 12: Introduction to Docker
Page 13: Introduction to Docker

A container full of EC2

Page 14: Introduction to Docker

● Contained our application and its dependencies● Were transferable● Ran in isolation● Ran everywhere● Were as light-weight as processes

What if we could create containers that:

Page 15: Introduction to Docker

Hands-on with Docker

Page 16: Introduction to Docker

Discover Docker

1. http://docker.io — community is great2. Play with it — I’ve only shown my use-cases3. Wait for the tooling to emerge — it’s an explosion

waiting to happen.4. Check out CoreOS

Page 17: Introduction to Docker

Questions?

● github.com/emilisto/docker-intro

● Who was the guy again? @svammel