Upgrade to Pro — share decks privately, control downloads, hide ads and more …

appc + mesos @ MESOSCON 2015

appc + mesos @ MESOSCON 2015

Brandon Philips

August 21, 2015
Tweet

More Decks by Brandon Philips

Other Decks in Programming

Transcript

  1. CoreOS Linux - Modern Kernels for Containers - Regular rolling

    update Alpha, Beta, Stable - Container runtimes out of the box - Docker - rkt - systemd-nspawn
  2. your with Ada.Text_IO; procedure Hello_World is use Ada.Text_IO; begin Put_Line("Hello,

    world!"); end; #include <stdio.h> int main() { printf("Hello, world!\n"); } package main import "fmt" func main() { fmt.Println("Hello, world!") }
  3. mesos + containers - Containerizers have existed for a long

    time - Uses Linux primitives to isolate from host system - Images not standardized: naming/finding/building - Marathon & Aurora fork/exec processes well - Tricky to use external init processes (e.g. docker) - What we will discuss - A specification for images (appc) - A runtime that can be fork/execd (rkt)
  4. Image Format Application Container Image (.aci) tarball of rootfs +

    manifest uniquely identified by ImageID (hash)
  5. OCI - Open Containers Initiative - Announced June 2015 (as

    OCP) - Lightweight, open governance project - Linux Foundation - Container runtime format - configuration on disk, execution environment - Runtime implementation (runc)
  6. appc vs OCI appc - image format - runtime environment

    - pods - image discovery OCI - runtime format - runtime environment
  7. appc vs OCI appc runtime - environment variables - Linux

    device files - hooks - etc... - multiple apps OCI runtime - environment variables - Linux device files - hooks - etc... - single app (process)