Docker-Vancouver Meetup - March 18, 2014 - An Introduction to Docker

912 views

Published on

An introduction to Docker, presented at the first Docker-Vancouver meetup.

Published in: Technology

Docker-Vancouver Meetup - March 18, 2014 - An Introduction to Docker

  1. 1. An Introduction to Docker March 18, 2014 Vancouver Docker Meetup Matthew Fisher, Fishworks Reza Sanaie, Beanworks
  2. 2. Table of Contents ● Background ● Namespaces and cgroups ● Docker Images ● Docker Registry ● Docker Tutorial ● Sponsors ● Questions?
  3. 3. Why should I care? For Developers: Build once...run anywhere For Devops: Configure once...run anything
  4. 4. Background ● introduced at PyCon 2013 ● huge community (10,000 stars and counting) ● open-source (Apache v2 licensed) ● packs, ships and runs processes ● processes are isolated in “containers” ● saves file system state as “images” ● HUGE win for automation and deployments ○ Dockerfiles, private/public registry, orchestration etc. ○ Run once, deploy anywhere
  5. 5. Namespaces and cgroups ● similar to chroot jails ● process-level virtualization (NOT a VM) ● relies on cgroups for resource limitation ○ CPU ○ memory ○ disk I/O
  6. 6. Docker Images ● read-only layer ● layers built upon layers ● images do not have state
  7. 7. Docker Registry ● public and private registry ● built in python ● stores image metadata as JSON { "id": "17dc5272a1edcf3172476c991ac6b5afd4c14bdf1b6ef361c9decec290dba728", "parent": "87acc693630cd175ad518b5cdecb800430ada5895b62ff7b4bdbdf4f87f88b30", "created": "2014-03-14T02:59:14.572378183Z", "Cmd": null, "Volumes": null, … }
  8. 8. Sponsors ● Docker Inc. ● OpDemand ● Hootsuite
  9. 9. Questions?

×