docker + app container = ocp

27
Docker + App Container -> OCP 23 June 2015 Alex Toombs Software Engineer, Apcera

Upload: apcera

Post on 10-Aug-2015

350 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Docker + App Container = ocp

Docker + App Container -> OCP23 June 2015

Alex ToombsSoftware Engineer, Apcera

Page 2: Docker + App Container = ocp

Who am I?

@ Apcera > 2 years

Platform Lead

Deployment, packaging, auditability

Not only microservice-based apps: legacy stacks, too

(...but not the focus today)

Page 3: Docker + App Container = ocp

About Apcera

Develop a platform for enterprises to manage applications & services

Golang users! (>90% Go code in our main repo, since ~ August 2012)

Wrote our own container implementation (using common techs like cgroups,namespaces)

Digest Docker/ACI/whatever images to run (polyglot stacks welcome)

Page 4: Docker + App Container = ocp
Page 5: Docker + App Container = ocp

Hosted Slides

http://present.croissant.buffalo.im/apceraMeetup/apceraMeetup.slide#1

(on Continuum)

Page 6: Docker + App Container = ocp

Docker vs CoreOS

Page 7: Docker + App Container = ocp

Docker vs CoreOS

By Evrik and Mets501 [Public domain], via Wikimedia Commons

Page 8: Docker + App Container = ocp

Docker vs CoreOS

Just kidding! We're all friends now

Page 9: Docker + App Container = ocp

Original title: killed by shykes!

Awesome announcement yesterday: OCP!

Open Container Project (under the Linux Foundation)

First reference implementation: runC

Apcera's down with OCP!

Lots of big backers (Docker, Amazon, Google, Microsoft, CoreOS, etc.)

Page 10: Docker + App Container = ocp

Docker

Page 11: Docker + App Container = ocp

Docker: past

History: dotCloud's Docker project started in ~ early 2013

dotCloud has been around ~8 years; struck a chord with Docker

Docker: quickly became synonymous with containers

Page 12: Docker + App Container = ocp

Docker: past

docker/docker repo, v0.1.0: https://github.com/docker/docker/releases/tag/v0.1.0

March 23, 2013

527 commits

dotCloud -> Docker

LXC (Linux Containers)

Page 13: Docker + App Container = ocp

Docker: past

docker/docker repo, v0.9.0: https://github.com/docker/docker/releases/tag/v0.9.0

March 10, 2014

6739 commits

"Add the pure Go libcontainer library to make it possible to run containers..."

"Add native exec driver which uses libcontainer and make it the default execdriver."

LXC -> libcontainer

Page 14: Docker + App Container = ocp

Docker: present

500,000,000 containers downloaded (according to Dockercon)

16,339 commits (post-lunch, today)

Many products: Engine, Compose, Swarm, Machine, Notary, etc.

Plugins are powerful

OCP! (more later)

Page 15: Docker + App Container = ocp

Docker: future

Microkernels (just kidding)

Heavy focus on trust around containers (big criticism; tarsums, signatures, etc)

Support more platforms (e.g. Microsoft, for Windows Server)

libcontainer -> runC?

Page 16: Docker + App Container = ocp

appc

Page 17: Docker + App Container = ocp

appc: origins

CoreOS started appc project to define a spec for containers

Trust at the core; use common tools like pgp/tar/shasum for imageverification/portability

Independent from CoreOS, maintained by 6 people (up until recently!)

rkt: reference implementation

Page 18: Docker + App Container = ocp

appc: tenets

Composable

Secure

Decentralized (!)

Open

Page 19: Docker + App Container = ocp

appc: pieces

App Container Image: what image is run

App Container Image Discovery: how to find images

App Container Pod: what a deployable, executable unit is

App Container Executor: how pods are executed

Page 20: Docker + App Container = ocp

appc + Apcera: Kurma

Apcera question: what to do with container runtimes?

libcontainer vs rkt vs our own tech vs something else...

Spec was attractive; well-defined interface

DNS discovery protocol: awesome!

Decentralized distribution vs centralized registry

Page 21: Docker + App Container = ocp

Future: Open Container Project (OCP)

Page 22: Docker + App Container = ocp

OCP

(http://opencontainers.org/)

Page 23: Docker + App Container = ocp

OCP

Reference implementation: https://github.com/opencontainers/runc

Heavily libcontainer flavored

No image spec yet (adopting from appc?)

Highly in flux! (just over a day old, publicly)

Spec: emphasis on "working code" for moving spec forward

Page 24: Docker + App Container = ocp

OCP: open questions

Image spec: what will that look like? (ACI, we hope)

Registry v2: pertains to above

Future of rkt

Future of libcontainer

Security scanning of images (mentioned briefly yesterday)

Page 25: Docker + App Container = ocp

OCP + Apcera: ?

Committed to improving the spec

Provide feedback/PRs

Very interested in image verification (notary is cool, but independent)

Policy for allowed sets of keys, maybe?

Doesn't replace Docker; Docker has the distribution down

Page 26: Docker + App Container = ocp

Thank you

23 June 2015

Alex ToombsSoftware Engineer, [email protected] (mailto:[email protected])

@alextoombs (http://twitter.com/alextoombs)

See you at Gophercon!

Page 27: Docker + App Container = ocp