DockerCon EU 2015: Day 1 General Session

107
Welcome to DockerCon! Ben Golub CEO, Docker Inc. @golubbe

Transcript of DockerCon EU 2015: Day 1 General Session

Page 1: DockerCon EU 2015: Day 1 General Session

Welcome to DockerCon!

Ben GolubCEO, Docker Inc.@golubbe

Page 2: DockerCon EU 2015: Day 1 General Session

The power of tools

“Give me a lever and a place to stand, and I will move the world!”- Archimedes

Page 3: DockerCon EU 2015: Day 1 General Session

The power of tools

“Our mission is to build tools of mass innovation.”- Solomon Hykes

Page 4: DockerCon EU 2015: Day 1 General Session

The Power of Tools in the Hands of Makers

Page 5: DockerCon EU 2015: Day 1 General Session

The Power of Tools in the Hands of Makers

Cosmology@Home lets you volunteer your spare computer time (like when your screen

saver is on) to help search for the model which best describes our Universe and to find the range of models that agree with available

cosmological and particle physics data.

Page 6: DockerCon EU 2015: Day 1 General Session

Theme 1: It’s all about the makers!

Page 7: DockerCon EU 2015: Day 1 General Session

What do you make

with Docker?

I build Adidas MENA Ecommerce platform

I DockerizeGenomics

My VPN connection is in a container

I Dockerized my team!

I deploy under custom OS in

mobile

I Dockerize Norwegian banking

Page 8: DockerCon EU 2015: Day 1 General Session

Thank you to those who make Docker

Page 9: DockerCon EU 2015: Day 1 General Session

Namespaces (IBM)Cgroups (Google)LXC toolsThe Linux KernelGitSELinux (Red Hat)Solaris ZonesBSD Jails+++We know we’re standin

g on your shoulders

Thank you to the giants

Page 10: DockerCon EU 2015: Day 1 General Session
Page 11: DockerCon EU 2015: Day 1 General Session

Thank you to the amazing global meetup community

215Groups

63Countries

Page 12: DockerCon EU 2015: Day 1 General Session

Thank you to the awesome Docker Inc team

Page 13: DockerCon EU 2015: Day 1 General Session

Thank you to our amazing sponsors

Page 14: DockerCon EU 2015: Day 1 General Session

Partners, Tools and Applications

Dev Tools

Official Repositories

Operating Systems

Big Data

Service Discovery

Build / Continuous Integration

Configuration ManagementConsulting &Training

Management

Storage

Clustering & Scheduling

Networking

Infrastructure & Service Providers

Security

Monitoring & Logging

Page 15: DockerCon EU 2015: Day 1 General Session

State of the Project

Page 16: DockerCon EU 2015: Day 1 General Session

…and the bazaarThe cathedral…Sagrada Familia

Construction started: 1882

Est. completion date: 2026

La Boqueria Open Air Market

Operating successfully since 1217

"Sagfampassion" by Wjh31 - Own work - http://lifeinmegapixels.com. Licensed under CC BY 3.0 via Commons -https://commons.wikimedia.org/wiki/File:Sagfampassion.jpg#/media/File:Sagfampassion.jpg

"La Boqueria" by Dungodung - Own work. Licensed under Public Domain via Commons -

https://commons.wikimedia.org/wiki/File:La_Boqueria.JPG#/media/File:La_Boqueria.JPG

Page 17: DockerCon EU 2015: Day 1 General Session

DockerCon EU 2015:2 Years 8 Months

A Year has passed, and our baby whale has grown!Our little whale is growing up

DockerCon EU 2014:20 Months

Page 18: DockerCon EU 2015: Day 1 General Session

Some growth statistics

Dockerizedapplications

Docker related projects on GitHub

Docker Hub pulls per second

Docker Hub pulls per day

More contributors to Docker open source

240K

655.6M

157%60M

Docker Hub pulls since Jan 2015

1.3B

Page 19: DockerCon EU 2015: Day 1 General Session

Docker Jobs

0

10000

20000

30000

40000

50000

60000

70000

Jan-14 Jan-15

Perc

enta

ge G

row

thDocker Job Trends

Page 20: DockerCon EU 2015: Day 1 General Session

Functionality

What has changed in the project?

DCEU 14

• Docker Engine• Docker Registry

DCEU 15

• Engine• Registry• Swarm• Networking• Toolbox

• Notary• Compose• Machine• More to come

today!

Applications

DCEU 14

• Primarily Stateless

DCEU 15

• Stateless• Stateful• More to come today!

Platforms

DCEU 14

• All major 64 bit Linux Oss

DCEU 15

• All major 64 bit Linux OS• Windows Server (TP4)• 32 bit• More to come today!

Commercial Solutions

DCEU 14

• Support• Hosted Registry

DCEU 15

• Support• Hosted Registry• CS Engines• DTR, Tutum• More to come tomorrow!

Governance

DCEU 14

• Advisory Board

DCEU 15

• Advisory Board• Runtime and format donated

to foundation (OCI), with 30+ members

• More to come today!

Users

DCEU 14

• Primarilytest/dev

• some prod

DCEU 15

• Docker used widely in Production

Page 21: DockerCon EU 2015: Day 1 General Session

Open Container Initiative

22

Availble on Github

OCI Roadmap

Github stars

2,223Member companies

35+

Github forks

Docker, Google, RedHat, CoreOS, Huawei, independents

Maintainers

253Contributors

130

Page 22: DockerCon EU 2015: Day 1 General Session

Functionality

What has changed in the project?

DCEU 14

• Docker Engine• Docker Registry

DCEU 15

• Engine• Registry• Swarm• Networking• Toolbox

• Notary• Compose• Machine• More to come

today!

Applications

DCEU 14

• Primarily Stateless

DCEU 15

• Stateless• Stateful• More to come today!

Platforms

DCEU 14

• All major 64 bit Linux Oss

DCEU 15

• All major 64 bit Linux OS• Windows Server (TP4)• 32 bit• More to come today!

Commercial Solutions

DCEU 14

• Support• Hosted Registry

DCEU 15

• Support• Hosted Registry• CS Engines• DTR, Tutum• More to come tomorrow!

Governance

DCEU 14

• Advisory Board

DCEU 15

• Advisory Board• Runtime and format donated

to foundation (OCI), with 30+ members

• More to come today!

Users

DCEU 14

• Primarilytest/dev

• some prod

DCEU 15

• Docker used widely in Production

Page 23: DockerCon EU 2015: Day 1 General Session

Theme 2: Docker in Production

Page 24: DockerCon EU 2015: Day 1 General Session

Real World Usage of Docker

Real Docker adoption is up 5x in one year

Docker users using Swarm & Compose

Users triple the # containers they use within 5 months

Docker users already running in production

5x 85%

3x 40%

Sources: O’Reilly, Coatue, Datadog

Page 25: DockerCon EU 2015: Day 1 General Session

Thank You To All Of Our Users! Add 3DS

Page 26: DockerCon EU 2015: Day 1 General Session

Docker in Production

Real Community, Robust Ecosystem

Secure & Extensible

Portable

Great for devs and ops

Real users

Solutions and Roadmap

End to end

Security

Orchestration

Networking

Workflows for build, shipping, deploying/managing

Page 27: DockerCon EU 2015: Day 1 General Session

Theme 3: End to End Matters

Page 28: DockerCon EU 2015: Day 1 General Session

Apps Have Fundamentally Changed

29

Loosely Coupled Services

Many Small Servers

~2000 Today

Monolithic

Big Servers

Slow changing

Rapidly updated

Page 29: DockerCon EU 2015: Day 1 General Session

Lessons learned:

123

Developers do not adopt locked down platforms

End to end matters:- Devs care about deployment- Ops cares about provenance

Build management, orchestration, & more in a way that enables portability

30

Page 30: DockerCon EU 2015: Day 1 General Session

Docker End to End Solutions

BUILD SHIP RUN

Registry Service

Cloud or Private Infrastructure

Plugins: Network, Volume, Clustering

Management UIDocker Toolbox

31

Page 31: DockerCon EU 2015: Day 1 General Session

Thank you!Ben Golub@golubbe

Page 32: DockerCon EU 2015: Day 1 General Session

Dockercon day 1General session

Solomon HykesFounder & CTO, Docker

Page 33: DockerCon EU 2015: Day 1 General Session

Photo Caption (Drag&drop a new photo onto photo to change)

3

Our mission is to build

tools of mass innovation

Page 34: DockerCon EU 2015: Day 1 General Session

Photo Caption (Drag&drop a new photo onto photo to change)

Billions of creative people Incredible technology

4

Page 35: DockerCon EU 2015: Day 1 General Session

Photo Caption (Drag&drop a new photo onto photo to change)

Mass innovation

5

Page 36: DockerCon EU 2015: Day 1 General Session

Photo Caption (Drag&drop a new photo onto photo to change)

6

What is the biggest innovation multiplier today?

Page 37: DockerCon EU 2015: Day 1 General Session

Photo Caption (Drag&drop a new photo onto photo to change)

7

PROGRAMMING

What is the biggest innovation multiplier today?

Page 38: DockerCon EU 2015: Day 1 General Session

The Internet is pretty cool…

Page 39: DockerCon EU 2015: Day 1 General Session

The Internet is pretty cool… and getting lots of upgrades!

Servers, phones, TVs, cars, sensors, drones, homes, watches, maps, payment systems, scientific equipment, virtual worlds, data banks, crypto-currencies...

Page 40: DockerCon EU 2015: Day 1 General Session

Could we make the Internet...

PROGRAMMABLE?

Page 41: DockerCon EU 2015: Day 1 General Session

App

App

App

App

App

App

App

App

App

AppApp

Eager developer

The Internet

Software walled gardens

Page 42: DockerCon EU 2015: Day 1 General Session

Photo Caption (Drag&drop a new photo onto photo to change)

App App

App

App

App

App

App

App

App

App

App

We’re building a software layer

to make the Internet programmable

Page 43: DockerCon EU 2015: Day 1 General Session

Photo Caption (Drag&drop a new photo onto photo to change)

TheDockerStack

Page 44: DockerCon EU 2015: Day 1 General Session

Photo Caption (Drag&drop a new photo onto photo to change)

Standards

Page 45: DockerCon EU 2015: Day 1 General Session

Photo Caption (Drag&drop a new photo onto photo to change)

Infrastructure

Page 46: DockerCon EU 2015: Day 1 General Session

Photo Caption (Drag&drop a new photo onto photo to change)

Dev tools

Page 47: DockerCon EU 2015: Day 1 General Session

Photo Caption (Drag&drop a new photo onto photo to change)

Solutions

Page 48: DockerCon EU 2015: Day 1 General Session

Photo Caption (Drag&drop a new photo onto photo to change)

Solutions

Dev tools

Infrastructure

Standards

TheDockerStack

Page 49: DockerCon EU 2015: Day 1 General Session

Let’s talk about

QUALITY

Page 50: DockerCon EU 2015: Day 1 General Session

Shipping a feature is just 1% of the work.

It should work every time, for every user.

Page 51: DockerCon EU 2015: Day 1 General Session

- Security and Reliability matter.- If it’s not usable, it’s worthless.

- Things fail. Handle it gracefully.

Quality means…

Page 52: DockerCon EU 2015: Day 1 General Session

Quality is a journey,not a destination.

Either you are focused on quality, or you’re not.

Page 53: DockerCon EU 2015: Day 1 General Session

We will alwaysput quality first.

Page 54: DockerCon EU 2015: Day 1 General Session

Quality toolsfor developersWhat have we been up to?

Page 55: DockerCon EU 2015: Day 1 General Session

Usability

Page 56: DockerCon EU 2015: Day 1 General Session

Docker Compose supports all new Swarm/engine features- Magical service discovery - Use a micro-service architecture without rewriting your code - Build persistent services with volume management - All integrated into a seamless developer experience

Page 57: DockerCon EU 2015: Day 1 General Session

Many small usability improvements. Details matter!

- Fixing Virtualbox integration issues, one by one. - UI glitches, low priority bugs - Unusual configurations and usage patterns - Better error messages No silver bullet, just lots of unglamorous hard work.

Page 58: DockerCon EU 2015: Day 1 General Session

Docker Developer Toolbox now has full Mac/Windows

feature parity.Installer, Quickstart terminal, Compose,

Machine, Kitematic

Page 59: DockerCon EU 2015: Day 1 General Session
Page 60: DockerCon EU 2015: Day 1 General Session

Security

Page 61: DockerCon EU 2015: Day 1 General Session

Usable security

Page 62: DockerCon EU 2015: Day 1 General Session

“How to make developers care about security?”

Wrong question.

Page 63: DockerCon EU 2015: Day 1 General Session

Unusable security is not security.

Page 64: DockerCon EU 2015: Day 1 General Session

“How to give developersusable security?”

Page 65: DockerCon EU 2015: Day 1 General Session

Docker Content Trust

Secure and usable content distribution for

developers.

Page 66: DockerCon EU 2015: Day 1 General Session

Built on industry-leading research

TUF and Notary enable Survivable Key Compromise,

Proof of Origin, Protection against untrusted transports.

Page 67: DockerCon EU 2015: Day 1 General Session

Can we make developerseven more secure?

Page 68: DockerCon EU 2015: Day 1 General Session

Hardware crypto supportfor

Docker Content Trust

and

Proudly introduce

Page 69: DockerCon EU 2015: Day 1 General Session

Docker Content Trust +

hardware crypto =

Survive almost any key compromise.

Page 70: DockerCon EU 2015: Day 1 General Session
Page 71: DockerCon EU 2015: Day 1 General Session

What did we just see?

Page 72: DockerCon EU 2015: Day 1 General Session

What did we just see?

Page 73: DockerCon EU 2015: Day 1 General Session

What did we just see?

Page 74: DockerCon EU 2015: Day 1 General Session

With the right tools, every developer can become an ultra-secure software publisher.

Page 75: DockerCon EU 2015: Day 1 General Session

Let’s prove it!

Page 76: DockerCon EU 2015: Day 1 General Session

3 easy steps

Page 77: DockerCon EU 2015: Day 1 General Session
Page 78: DockerCon EU 2015: Day 1 General Session

Quality toolsfor opsWhat have we been up to?

Page 79: DockerCon EU 2015: Day 1 General Session

Security,Reliability,

Scale.

Page 80: DockerCon EU 2015: Day 1 General Session

Let’s talk about

SECURITY (again)

Page 81: DockerCon EU 2015: Day 1 General Session

Isolation of Linux containers: it’s complicated

- pid namespace

- mnt namespace

- net namespace

- uts namespace

- ipc namespace

- user namespace (new)

- pivot_root

- uid/gid drop

- cap drop

- all cgroups

- selinux

- apparmor

- seccomp

Page 82: DockerCon EU 2015: Day 1 General Session

Isolation supported by Docker Engine 0.1 in March 2013

- pid namespace

- mnt namespace

- net namespace

- uts namespace

- ipc namespace

user namespace (new)

- pivot_root

- uid/gid drop

cap drop

all cgroups

selinux

apparmor

seccomp

Page 83: DockerCon EU 2015: Day 1 General Session

Isolation supported in Swarm/Engine 1.9

- pid namespace

- mnt namespace

- net namespace

- uts namespace

- ipc namespace

user namespace (new)

- pivot_root

- uid/gid drop

- cap drop

- all cgroups

- selinux

- apparmor

seccomp

Page 84: DockerCon EU 2015: Day 1 General Session

Isolation supported in Swarm/Engine experimental

- pid namespace

- mnt namespace

- net namespace

- uts namespace

- ipc namespace

user namespace (new)

- pivot_root

- uid/gid drop

- cap drop

- all cgroups

- selinux

- apparmor

seccomp

Page 85: DockerCon EU 2015: Day 1 General Session

http://docker.com/experimental

Help us test the bleeding edge!

Page 86: DockerCon EU 2015: Day 1 General Session

“Am I running vulnerable containers?”

Page 87: DockerCon EU 2015: Day 1 General Session

IntroducingProject Nautilus

Built-in container security analysis in Docker Hub

Page 88: DockerCon EU 2015: Day 1 General Session

Quietly went live on official repos two months ago,

helped secure 74 millions pulls. self-service coming soon.

Page 89: DockerCon EU 2015: Day 1 General Session

Nautilus uses Deep Content Analysis

Page 90: DockerCon EU 2015: Day 1 General Session

Nautilus matches all container content against its own vulnerability

database.

It is not limited to the vulnerability database of Linux distributions.

Page 91: DockerCon EU 2015: Day 1 General Session

Benefit 1:

Detect vulnerabilities regardless of Linux distribution.

Page 92: DockerCon EU 2015: Day 1 General Session

Benefit 2:

We have caught several vulnerabilities in Linux distributions

and collaborated to fix them.

Page 93: DockerCon EU 2015: Day 1 General Session

Benefit 3:Face it: developers have their favorite package

manager. Probably not the one shipped with the distro.

But it’s OK! Nautilus will catch vulnerabilities anyway.

Page 94: DockerCon EU 2015: Day 1 General Session

“Those who would give up essential Liberty, to purchase a little temporary

Safety, deserve neither Liberty nor Safety” - Benjamin Franklin.

Page 95: DockerCon EU 2015: Day 1 General Session

You don’t need to lock yourself into a Linux distribution to secure your

containers.

Page 96: DockerCon EU 2015: Day 1 General Session

SWARM 1.0

Ready for production

Page 97: DockerCon EU 2015: Day 1 General Session

Swarm 1.0: ready for production

- Connect any containers across your entire cluster - Create secure overlay networks out of the box - Swap in your favorite backend implementation - DNS service discovery supports unmodified applications

Built-in multi-host networking

Page 98: DockerCon EU 2015: Day 1 General Session

Swarm 1.0: ready for production

- New volume management commands and API - Attach any volume to any container, dynamically - Swap in your favorite backend implementation

Built-in persistent storage

Page 99: DockerCon EU 2015: Day 1 General Session

Swarm 1.0: ready for production

“But does it scale?”

Page 100: DockerCon EU 2015: Day 1 General Session
Page 101: DockerCon EU 2015: Day 1 General Session

- We scaled Swarm to 50k containers and 1k nodes - Had to stop because of EC2 limit - Swarm keeps scheduling without breaking a sweat - Expect bigger numbers soon - Yes, software can be both scalable and usable

What did we just see?

Page 102: DockerCon EU 2015: Day 1 General Session

In summary...

Page 103: DockerCon EU 2015: Day 1 General Session

Quality tools for developers- Many usability improvements

- Full Mac/Windows feature parity

- Trusted content distribution for developers

- Support for hardware crypto

Quality tools for ops- More isolation features in Swarm/engine

- Swarm 1.0 is ready for production

- Swarm can run persistent services

- Swarm works a very large scale

Page 104: DockerCon EU 2015: Day 1 General Session
Page 105: DockerCon EU 2015: Day 1 General Session
Page 106: DockerCon EU 2015: Day 1 General Session

Happy Hacking!

Page 107: DockerCon EU 2015: Day 1 General Session

Thank you!Solomon Hykes@[email protected]