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

Hello Docker!

Ronak Kogta
January 09, 2016

Hello Docker!

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

Ronak Kogta

January 09, 2016
Tweet

More Decks by Ronak Kogta

Other Decks in Technology

Transcript

  1. Hello Docker ! Ronak Kogta

  2. #include<...> printf("Hello Docker !"); Ronak Kogta

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

    Virtualization Servers Networking Storage Applications Data Runtime Middleware OS Virtualization Servers Networking Storage
  4.  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
  5. Resource Isolation

  6. Resource Isolation

  7.  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
  8. Lightweight process virtualization  Solaris Zones  BSD Jails 

    AIX WPARs (workload partitions)  LXC containers Containers
  9.  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.
  10. Containers Contd.

  11.  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
  12. 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 ?
  13. None
  14.  Docker images and Dockerfile  Docker libcontainer runtime 

    Docker volumes  Data Containers  Docker network  Exposing ports  Vbridge  Docker Tools Docker Concepts
  15. Docker Universe Is Expanding.

  16. Thanks!

  17.  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...
  18.  http://www.techrepublic.com/article/add-ons-fill-the- enterprise-gaps-in-dockers-ecosystem/ References