Skip to content

Docker and Containers: The Big Picture

Kota edited this page Oct 11, 2018 · 13 revisions
  • vmware: multiple apps running safely on the same server

    • VM / Hypervisor: Slices physical CPU/RAMDisk into virtual machines. Each runs on its own OS
    • Hypervisors virtualization model: a single physical server (processors, memory, diskspace) will be sliced into multiple VMs
      • 4 vms on a single server configured to take 25% of the physical server's processors, memory, disk space
      • Each vm need it's own OS (Windows,linux etc..): uses CPU, RAM, disk space and also requires a license
  • Containers: Several containers are created on the physical server which are shared by single OS

    • Conatiners: Slice OS resources - process namespace, network stack, storage stack, file root system etc..
    • More apps on the same physical server compared to vm(s)
    • Docker: Earlier dotCloud. From 2013, a open source containerization tool.
    • Authentication: DCT - Docker Content Trust

Docker Containers

  • Cloud
    • Build: engine, Swarm etc..
    • Ship: Dockerhub, Quay.io, Like an app store for Docker Images
    • Run: Tutum etc
  • On Premises
    • Build: engine, Swarm etc..
    • Ship: Docker Trusted Registry (DTR)
    • Run: Docker Universal Control Panel

Container Orchestration

  • Docker Machine: Provisions Docker hosts/engines
  • Docker Compose: Compose multi-container apps
  • Docker Swarm: Schedule containers over multiple docker engines
  • Docker Tutum: UI to control and manage everything
  • More: Kubernetes, Mesosphere DCOS, (CoreOS fleet, etcd..), OpenStack Magnum..

Installation

  • Docker for Linux, Mac
  • Docker for Windows: Runs Docker on Linux Hyper VM (MobyLinuxVM). This doesn't stops running cmd/powershell and execute docker commands. Native Docker for windows is coming soon.
    • Hyper-V feature installed (Turn Windows feature on or off)
    • Download docker for windows from www.docker.com & Install. That's Done !! (cmd> docker version)
    • HyperV Manager helps you know whats going on behind the scenes
    • Installation is different for Windows Server 2016

Links

Clone this wiki locally