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

Hello Docker!

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers.
Avatar for Ronak Kogta Ronak Kogta
January 09, 2016

Hello Docker!

Basic introduction to docker for beginners. #GDGHyd #Docker #handson

Avatar for Ronak Kogta

Ronak Kogta

January 09, 2016
Tweet

More Decks by Ronak Kogta

Other Decks in Technology

Transcript

  1. A Soft Theory of Everything Applications Data Runtime Middleware OS

    Virtualization Servers Networking Storage Applications Data Runtime Middleware OS Virtualization Servers Networking Storage
  2.  Adoption of Massive commodity servers vs Workstation  Breaking

    Software into pieces  Monolithic => Loose Coupled => Micro-services  Advances in practical distributed computing  Raft/Paxos Consensus protocols  CAP aware robust and resilient systems  Resource Isolation [will discuss in detail]  Virtualization  Containerization A Soft Theory of Everything - Key Factors
  3.  Highly Resource Efficient  Low latencies  Still in

    development, many pieces are not in place.  No such features available as of yet.  Security is in nascent stages. Containerization  Resource Heavy  Slow startup and shutdown time  More Stable and robust tools available.  Live Migration and efficient snapshotting.  Tighter Security Guarantees Virtualization Resource Isolation
  4. Lightweight process virtualization  Solaris Zones  BSD Jails 

    AIX WPARs (workload partitions)  LXC containers Containers
  5.  Namespaces (Resource Isolation)  mnt  ipc  pid

     net  uts  user clone(), unshare(), setns()  Cgroups (Resource Management)  Generic process grouping framework  freezer  cpuset  blkio  cpuacct  devices Containers Contd.
  6.  Standard Operations  Start/Stop, Upload/Download, Tag/Snapshotted  Content Agnostic

     Infrastructure Agnostic  Designed for Automation  Industrial Grade Delivery Source: Docker's Container Manifesto Docker: A self sufficient runtime for container
  7. It is a neat bundle of three major components 

    Linux namespaces (isolated view of system)  Cgroups (limit and isolate the resource usage)  Union Filesystem (AUFS, overlayfs) Docker Concepts  Dockerfile and Docker images  Docker runtime  Docker volumes What is Docker ?
  8.  Docker images and Dockerfile  Docker libcontainer runtime 

    Docker volumes  Data Containers  Docker network  Exposing ports  Vbridge  Docker Tools Docker Concepts
  9.  Docker [Machine,Swarm,Compose]  Mesosphere & CoreOS Fleet  Docker

    libnetwork  CoreOS etcd & Hashicorp’s consul  Docker Hub and Crate.io  ClusterHQ’s Powerstrip  Configuration  Orchestration  Networking  Movement  Service Discovery  Image Management  Extensions  Security Docker is still expanding...