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

Hello, Willy! – Docker

Hello, Willy! – Docker

Eugene Oskin

January 20, 2017
Tweet

More Decks by Eugene Oskin

Other Decks in Programming

Transcript

  1. Why? • Work in local, does not work in production

    • Use existed app • Multiple isolated daemon instances • Bundle you app • Dependency hell
  2. Container is not VM • Lite for machine: size, CPU,

    memory • VM provides more isolation • Plenty of tools • Easy to manage • A lot of existed images
  3. Use Cases • Work in local, does not work in

    production • Use existed app • Multiple isolated daemon instances • Bundle you app • Dependency hell
  4. Use Cases • Work in local, does not work in

    production ◦ Locally: ▪ Build image ▪ Push to the registry ◦ Anywhere: ▪ Pull the image from registry ▪ Run image
  5. Use Cases • Use existed app ◦ Postgis ◦ MongoDB

    ◦ Redis ◦ Cacti ◦ Node ◦ Python ◦ Ruby ◦ Java
  6. Use Cases • Dependency hell ◦ Containers are isolated ◦

    Use build dependencies only when build ◦ Share build environment with build-images