Docker and Containers:The Big Picture

COURSE INTRODUCTION
THE BASICS

By scmGalaxy.com

About Me

DevOps@RajeshKumar.XYZ

Course Objective

To bring you up to speed on what all the buzz is around Docker and containers.

integrating docker with devop automated workflows

Course Agenda

  • What Are Containers
  • What Is Docker
  • Preparing to Thrive in a Container World
  • What Kind of Work Will Containers Do
  • Docker Hub and Other Container Registries
  • Are Docker and Containers Ready for
  • Production and the Enterprise
  • What Is Container Orchestration All About

What Are Containers?

Setting the Scene Applications run businesses

Applications run businesses

docker containe application run businesses

Applications run businesses

Applications run on servers

docker applications run on servers

Applications run businesses

Applications run on servers

  • Procurement lead times
  • Up-front capex
  • Ongoing opex

applications run businesses for docker container
  • Applications run businesses
  • Applications run on servers
    • Procurement lead times
    • Up-front capex
    • Ongoing opex
  • Hypervisors allow multiple apps per server

docker multiple apps per server

The Trouble with Hypervisors

docker multiple apps per server
  • Applications run businesses
  • Applications run on servers
    • Procurement lead times
    • Up-front capex
    • Ongoing opex
  • Hypervisors allow multiple apps per server
  • Applications run businesses
  • Applications run on servers
    • Procurement lead times
    • Up-front capex
    • Ongoing opex
  • Hypervisors allow multiple apps per server

docker containerr hypervisors serve
  • Applications run businesses
  • Applications run on servers
    • Procurement lead times
    • Up-front capex
    • Ongoing opex
  • Hypervisors allow multiple apps per server
  • Each OS.
    • Uses CPU
    • Uses RAM
    • Uses disk
    • May have license cost
    • Requires admin time
docker containerr os

Containers

containers for docker
containers for containersoperating system
containers architecture for docker
containers container architecture
hypervisor architecture for docker containers
containers application operating system for docker

Summary

containers application operating system for docker

Coming Up Next…

Docker DockerDocker…

What Is Docker?

Agenda

docker-containers-agenda

Docker Inc.

docker ins

Docker Inc.


docker work

Docker Inc.

docker ins for-container

The Docker Project

the docker project
  • Open source
    • Apache License 2.0
  • All about making awesome tools that enable us to do things better
  • Multiple tools in the project

Docker Engine

docker engine

The Docker Project

 docker project
  • Open source
    • Apache License 2.0
  • All about making awesome tools that enable us to do things better
  • Multiple tools in the project
  • Some of the biggest names in the industry involved

The Docker Project

 project of docker
  • Open source
    • Apache License 2.0
  • All about making awesome tools that enable us to do things better
  • Multiple tools in the project
  • Some of the biggest names in the industry involved

The Docker Project

 engine project planning for docker
  • Open source
    • Apache License 2.0
  • All about making awesome tools that enable us to do things better
  • Multiple tools in the project
  • Some of the biggest names in the industry involved

The Docker Project

 docker project for containers
  • Open source
    • Apache License 2.0
  • All about making awesome tools that enable us to do things better
  • Multiple tools in the project
  • Some of the biggest names in the industry involved

The Open Container Initiative

Container history….

 the open container initiative

The Open Container Initiative

 the-open-container-initiative-for-docker

The Open Container Initiative

 container for open initiative docker-

The Open Container Initiative

 open container for docker

The Open Container Initiative

  • Lightweight governance council
    • Standardize:
      • Container format
      • Container runtime
    • Vendor neutral
    • Platform neutral
  • Formed in June 2015
  • Operates under The Linux Foundation

The Open Container Initiative

  • Lightweight governance council
    • Standardize:
      • Container format
      • Container runtime
    • Vendor neutral
    • Platform neutral
  • Formed in June 2015
  • Operates under The Linux Foundation
  • who?

The Open Container Initiative

Deciding on the specs of the rail tracks…. so we can concentrate on building better trains….

Summary

 summary for docker

Coming Up Next…

Preparing for containers…

Preparing to Thrive in a Container World

Agenda

  • Individual preparation
  • Organizational preparation

Personal Preparedness

 personal preparedness container

Personal Preparedness

 personal preparedness for container

Personal Preparedness

  • Docker Deep Dive
  • Integrating Docker with Devops Automated Workflows
  • More to come...

for container personal preparedness

Organization and Team Preparedness

Don’t do a Larry

Poo-pooed: disregarded as unnecessary and needing no response.

Accept that containers are coming.

Organization and Team Preparedness

  • Accept that containers are coming
  • Determine whether you already have containers hiding in your estate
organization and team preparedness for docker

Organization and Team Preparedness

  • Accept that containers are coming
  • Determine whether you already have containers hiding in your estate
  • Start making it official

for docker container organization and team preparedness

Organization and Team Preparedness

for docker container organization and team
  • Accept that containers are coming
  • Determine whether you already have containers hiding in your estate
  • Start making it official
  • Don’t ignore Operations

Organization and Team Preparedness

  • Orchestration tools
  • Clustering tools
  • Management tools
  • Monitoring and logging tools

for docker container organization and team
  • Accept that containers are coming
  • Determine whether you already have containers hiding in your estate
  • Start making it official
  • Don’t ignore Operations

Organization and Team Preparedness

organization and-team for container
  • Accept that containers are coming
  • Determine whether you already have containers hiding in your estate
  • Start making it official
  • Don’t ignore Operations
  • Get devs and ops talking to each other

Organization and Team Preparedness

container organization and team docker
  • Accept that containers are coming
  • Determine whether you already have containers hiding in your estate
  • Start making it official
  • Don’t ignore Operations
  • Get devs and ops talking to each other
  • Who’s budget does this come out of?

Why Being Prepared Is so Important

https://www.datadog hc.com/docker-adoptionJ

why being prepared for dockar container

Summary

conatiners for docker summary

Coming Up Next…

How will containers impact?

What Kind of Work Will Containers Do

Stateful vs Stateless

stateful vs stateless  for docker conatiners

Stateless: Does not keep any changes or data

Stateful vs Stateless

Stateful app for docker containers
  • Stateless: Does not keep any changes or data
  • Stateful: keeps changes and data

Stateful vs Stateless

Q: Are containers just for stateless apps and services?

A: Docker and containers can handle stateful and stateless workloads


  • Stateless: Does not keep any changes or data
  • Stateful: keeps changes and data

Containers and Modern Stateless Apps

“Hypervisors revolutionized IT.”

What are Containers module

Hypervisor Vrtualization

docker containers hypervisor vrtualization

Hypervisor Vrtualization

We could deploy some of our legacy apps directly inside of container...

  • We get to develop apps that are:
    • modern
    • scalable
    • self-healing
    • portable
  • We get to develop apps that are:
    • modern
    • scalable
    • self-healing
    • portable

Containers and Modern Apps

containers and mordern app for docker

Containers and Modern Apps

docker containers and modern apps

Containers and Modern Apps

modern apps and container for docker

Containers and Modern Apps

containers of modern docker

Containers and Modern Apps

docker modern apps of container

Containers and Modern Apps

mordern apps and containers for docker

Containers and Modern Apps

container of modern apps docker

Containers are great at modern cloud-native apps

Far superior to Virtual Machines at this

Containers and Traditional Apps

Containers and Traditional Apps

A lot of early messaging from Docker Inc. was about using containers for modern cloud-native apps

  • This is where containers naturally excel
  • It does not mean that containers cannot be used for traditional enterprise apps

docker container

Most Popular Official Repos on Docker Hub

most popular official repos on docker hub

Summary

docker summary for stateful or stateless

Stateful workloads are becoming first-class citizens in the Docker world

Are containers just for stateless apps and services?

No! Containers do a great job with stateless and stateful

Coming Up Next…

Docker Hub and Container Registries

Docker Hub and Other Container Registries

Agenda

  • Container Registries

    • What they are
    • How they work
    • Why they’re sooooooo important

Container Registries

container registeries for docker
  • Places to store and retrieve container images

  • Docker Hub is the official Docker registry

  • 3rd party registries exist

Container Registries

docker container registeries
  • Places to store and retrieve container images
  • Docker Hub is the official Docker registry
  • 3rd party registries exist
  • Registries contain repositories
  • Repositories can be public or private

Registry Security

  • Are public repositories wide open to the world?
    • Yes for pulling (downloading)
    • No for pushing (uploading changes)
  • Private repositories are not open to the world
  • Private registries are available
    • Run inside of your corporate network
    • Docker Trusted Registry (DTR)
    • Quay Enterprise
    • etc.
  • Docker Content

Container registries are becoming central to application infrastructure and application delivery

docker automated workflow

Summary

docker hub registries summary

Summary

summary for docker hub registeries

Coming Up Next…

Are containers ready for production and the enterprise?

Are Docker and Containers Ready for Production and the Enterprise

Production worthiness and enterprise worthiness are your decision

This module will help you make that decision

Offerings from Docker Inc.

offerings from docker inc

Offerings from Docker Inc.

offerings from docker

Docker Engine: > Version 1.10

  • Three channels:
    • Experimental
    • Stable
    • Commercially Supported

Offerings from Docker Inc.

docker swarm

Docker Engine: > Version 1.10

  • Three channels:
    • Experimental
    • Stable
    • Commercially Supported

Offerings from Docker Inc.

docker swarm and  content trust

Docker Engine: > Version 1.10

  • Three channels:
    • Experimental
    • Stable
    • Commercially Supported

Offerings from Docker Inc.

docker swarm anddocker content trust

Docker Engine: > Version 1.10

  • Three channels:
    • Experimental
    • Stable
    • Commercially Supported

Docker Swarm > Version 1.0+ Scales well

Docker Content Trust Authenticate content

Offerings from Docker Inc.

docker build ship run

Docker Engine: > Version 1.10

  • Three channels:
    • Experimental
    • Stable
    • Commercially Supported

Docker Swarm > Version 1.0+ Scales well

Docker Content Trust Authenticate content

Docker

  • (ship to the cloud)

Docker Trusted Registry

  • (ship on-prem)

Tutum

  • (Deploy to the cloud)

Universal Control Plane

  • (Deploy on-prem)

The Wider Ecosystem

the wider ecosystem for docker

Growing rapidly

Lots of startups

Established players

Summary

summary for docker inc and ecosystem

Coming Up Next…

Container Orchestration

What Is Container Orchestration All About?

Container Orchestration - Analogy

container orchestration analogy team

Container Orchestration - Analogy

container orchestration analogy

Container Orchestration - Analogy

container orchestration analogy for docker

Container Orchestration

container orchestration fordocker

Apps comprise multiple parts

Container Orchestration

docker container orchestration
  • Apps comprise multiple parts
    • Thousands of containers
    • Hundreds of hosts

Container Orchestration

container orchestration for docker-
  • Apps comprise multiple parts
    • Thousands of containers
    • Hundreds of hosts
  • Orchestration:
    • Defines our app

Container Orchestration

container orchestration for docker
  • Apps comprise multiple parts
    • Thousands of containers
    • Hundreds of hosts
  • Orchestration:
    • Defines our app
    • Provisions infrastructure
    • Deploys our app
    • Scales our app

Container Orchestration

container orchestration of docker
  • Apps comprise multiple parts
    • Thousands of containers
    • Hundreds of hosts
  • Orchestration:
    • Defines our app
    • Provisions infrastructure
    • Deploys our app
    • Scales our app
  • Docker orchestration Products:
    • Machine
    • Compose
    • Swarm
  • Ecosystem orchestration products:

Container Orchestration

docker for container orchestration
  • Apps comprise multiple parts
    • Thousands of containers
    • Hundreds of hosts
  • Orchestration:
    • Defines our app
    • Provisions infrastructure
    • Deploys our app
    • Scales our app
  • Docker orchestration Products:
    • Machine
    • Compose
    • Swarm
  • Ecosystem orchestration products

Summary

docker container orchestrationr summary

Summary

summary for docker container orchestration

What Next?

docker what do you want to learn
docker deep drive

Unikernels

“A potential game-changing technology to watch out for in the next 3-5 years.”

Questions?

docker questions

Thanks for You