50
Docker: the road ahead

Docker: the road ahead

  • Upload
    shykes

  • View
    33.043

  • Download
    2

Embed Size (px)

Citation preview

Page 1: Docker: the road ahead

Docker: the road ahead

Page 2: Docker: the road ahead

So... what do we do now?aka

Page 3: Docker: the road ahead

Why are we here?

Page 4: Docker: the road ahead
Page 5: Docker: the road ahead
Page 6: Docker: the road ahead
Page 7: Docker: the road ahead
Page 8: Docker: the road ahead

We have a blueprint

Page 9: Docker: the road ahead

“My thought in the 70s was that the Internet was a really good scalable design, and we should make a virtual internet of virtual machines that could be cached by the hardware machines.

It’s really too bad this didn’t happen

Alan Kay

Page 10: Docker: the road ahead

Upgrade the Internettime to

Page 11: Docker: the road ahead

We have the technologybandwidth, storage, compute, sandboxing,

crypto, compression, copy-on-write filesystems, paxos/raft...

Page 12: Docker: the road ahead

We have standard interfaces

Time to fix this!

Page 13: Docker: the road ahead

It’s getting people to agree on something

The real value of Docker is not technology

Page 14: Docker: the road ahead

1. Packaging and distribution

Page 15: Docker: the road ahead

2. Sandboxing

Page 16: Docker: the road ahead

libcontainerA standard interface to OS sandboxing

namespaces, cgroups, capabilities, netlink, selinux, apparmor

Core Docker component...But also usable standalone

Page 17: Docker: the road ahead

libcontainerA standard interface to OS sandboxing

A few announcements.

Page 18: Docker: the road ahead

libcontainer

github.com/docker/libcontainer

Now a standalone project

#libcontainer on Freenode

Page 19: Docker: the road ahead

libcontainer

Contributing SELinux and systemd integration

Welcome Dan and Alex!

Page 20: Docker: the road ahead

libcontainer

Joining as core maintainers

Welcome Victor and Rohit!

Page 21: Docker: the road ahead

libcontainer

Contributing C implementation and OpenVZ support

Welcome Pavel and John!

Page 22: Docker: the road ahead

libcontainer

collaborating on unified cgroup interface

Welcome Serge!

& LXC

Page 24: Docker: the road ahead

3.Networking

Page 25: Docker: the road ahead

libchana lightweight communication

protocol for distributed systems

Page 26: Docker: the road ahead

libchanLike Go channels over the network

Simple message passing

Synchronization without sharing state

Raw socket passing: channels as gateways to any other protocol

Nesting: channels can send channels

Page 27: Docker: the road ahead

libchanAvailable transports:SPDY/TLS,websocket,raw TCP,high-perf unix sockets (with fd passing),in-memory go channels.

Designed to be simple and portable

Page 28: Docker: the road ahead

libchan

A standard communication layer for Docker:

internal components, plugins,inter-container communication.

Page 30: Docker: the road ahead

4. Orchestration

Page 31: Docker: the road ahead

Docker API

Page 32: Docker: the road ahead
Page 33: Docker: the road ahead

Shipper

Page 34: Docker: the road ahead

Shipper Mesosor

Page 35: Docker: the road ahead

Shipper or Mesos or Coreos/FleetGeardor

Page 36: Docker: the road ahead

Shipper or Mesos or Coreos/FleetGeardor

or or orConsul Helios Centurion

Page 37: Docker: the road ahead

Shipper or Mesos or Coreos/FleetGeardor

or or orConsul Helios Centurion

EC2 Rackspace GCE Orchard Tutum

Page 38: Docker: the road ahead

Shipper or Mesos or Coreos/FleetGeardor

or or orConsul Helios Centurion

EC2 Rackspace GCE Orchard Tutum

Page 39: Docker: the road ahead

libswarmA minimalist toolkit

to compose network services

Page 40: Docker: the road ahead

libswarmA standard interface to combine and organize

services in a distributed system.

Compose complex architectures from standard building blocks

Avoid vendor lock-in by swapping any service out with another

Pick services from a built-in library, or write your own with a simple API.

Page 41: Docker: the road ahead

libswarmCommunity-contributed adapters:

Docker server & clientMesos

Atomic / geardFleet / etcd

OrchardGoogle cloud

Rackspace cloudTutum.comShipyard

TLS tunnel

Page 42: Docker: the road ahead

libswarmFirst-class Docker compatibility

If you develop on libswarm, we guarantee compatibility with the

Docker ecosystem.

Page 44: Docker: the road ahead

libcontainer libchan

libswarm

Page 45: Docker: the road ahead

What’s next?

Page 46: Docker: the road ahead

5. Identity

Page 47: Docker: the road ahead

6. Authorization

Page 48: Docker: the road ahead

Coming soon!

“But I need it naow!”Come say hi, maybe we can hook you up

Page 49: Docker: the road ahead
Page 50: Docker: the road ahead

Let’s go build it!

Happy hacking!Drawings by @laurelcomics

#docker-dev on Freenode