SlideShare a Scribd company logo
7
Most read
10
Most read
11
Most read
Containers in Cloud
2
Why Containers?
What are Containers?
History of Containers
Docker
Orchestration
Docker Swarm
3
Why Containers?
4
Complex Systems with many
payloads
5
Multiple targets
QA
Build server
Stage Prod
Cloud(s)
6
Problem
7
Similar problem
8
Solution
9
What are Containers?
10
What are containers?
Containers offer an isolated environment – as close as possible
to a VM – without the overhead of running a separate kernel
and simulating all the hardware
11
Virtualization vs Containerization
12
History of Containers
• Chroot – 1979
• FreeBSD Jails – 2000
• Linux Vserver – 2001
• Solaris Containers – 2004
• OpenVZ – 2005
• Process Containers – 2006
• Control Groups (cgroups) – 2007
• LXC – 2008
• Warden – 2011
• LMCTFY – 2013
• Docker – 2013
• Rocket (rkt) – 2014
13
LXC
14
Docker
• Open Source
• Builds on top of LXC
• Provides portable format and
runtime environment to deploy
application inside containers
• Containers optimized by layers
• Manages dependencies
15
Docker Architecture
16
How it works?
17
Containers before Docker
18
Containers after Docker
19
Container Orchestration
• Manage/Provision multi-container
applications
• Application blueprint from a
schema (JSON or YAML)
• Monitoring
• Upgrades (rolling) and Rollback
• Policy management
• Service discovery
• Ease of use
• Integration with existing systems
20
Docker Swarm
$ docker swarm init
$ docker swarm join
• Cluster management within the Docker engine
• No additional software to manage a Swarm
• Easy to setup
• Scaling
• Built-In
• Multi-host networking
• Service discovery
• Load balancing (L4)
• Security
• Rolling updates
• But… Not a real orchestration tool (not yet!)
21
Demo

More Related Content

Similar to containers-in-cloud introduction to ppts (20)

PPTX
DockerCon EU 2015 Barcelona
Roman Dembitsky
 
PDF
Docker
Anil Wadghule
 
PPTX
Academy PRO: Docker. Lecture 1
Binary Studio
 
PDF
Introduction to Containers - SQL Server and Docker
Chris Taylor
 
PPTX
Academy PRO: Docker. Part 1
Binary Studio
 
PDF
An introduction to contianers and Docker for PHP developers
Robert McFrazier
 
PDF
Docker Dojo
Hugo González Labrador
 
PPT
Sebastien goasguen cloud stack and docker
ShapeBlue
 
PPTX
Docker - Portable Deployment
javaonfly
 
PDF
stackconf 2020 | Replace your Docker based Containers with Cri-o Kata Contain...
NETWAYS
 
PDF
Docker handons-workshop-for-charity
Yusuf Hadiwinata Sutandar
 
PPT
Develop with linux containers and docker
Fabio Fumarola
 
PPTX
Docker and Sitecore : Sci-Fi or match made in heaven?
Saber Karmous
 
PDF
Containerize! Between Docker and Jube.
Henryk Konsek
 
PPTX
Highly Available And Distributed Containers - ContainerCon NA 2016
{code}
 
PDF
Containerized Delivery on the Microsoft Stack
Cornell Knulst
 
PDF
Container Orchestration Meetup
armandorvila
 
PPTX
Intro to Docker November 2013
Docker, Inc.
 
PPTX
Docker-Intro
Sujai Sivasamy
 
DockerCon EU 2015 Barcelona
Roman Dembitsky
 
Academy PRO: Docker. Lecture 1
Binary Studio
 
Introduction to Containers - SQL Server and Docker
Chris Taylor
 
Academy PRO: Docker. Part 1
Binary Studio
 
An introduction to contianers and Docker for PHP developers
Robert McFrazier
 
Sebastien goasguen cloud stack and docker
ShapeBlue
 
Docker - Portable Deployment
javaonfly
 
stackconf 2020 | Replace your Docker based Containers with Cri-o Kata Contain...
NETWAYS
 
Docker handons-workshop-for-charity
Yusuf Hadiwinata Sutandar
 
Develop with linux containers and docker
Fabio Fumarola
 
Docker and Sitecore : Sci-Fi or match made in heaven?
Saber Karmous
 
Containerize! Between Docker and Jube.
Henryk Konsek
 
Highly Available And Distributed Containers - ContainerCon NA 2016
{code}
 
Containerized Delivery on the Microsoft Stack
Cornell Knulst
 
Container Orchestration Meetup
armandorvila
 
Intro to Docker November 2013
Docker, Inc.
 
Docker-Intro
Sujai Sivasamy
 

More from Radhika R (20)

PPTX
ppt1.pptx introduction to cloud computing
Radhika R
 
PPTX
cloud consumer perspective from IAAS security
Radhika R
 
PDF
module4 cloud provider and consumer persp
Radhika R
 
PPTX
Lecture_1.1.pptx introduction to cloud ar
Radhika R
 
PPTX
containers-in-cloud.pptx introduction part
Radhika R
 
PPTX
containerization1. introduction to contain
Radhika R
 
PDF
moThese platforms hide the complexity and details of the underlying infrastru...
Radhika R
 
PPTX
Cloud computing is a model for enabling convenient, on-demand network access ...
Radhika R
 
PDF
a collection/group of integrated and networked hardware, software and Interne...
Radhika R
 
PPT
Cloud Computing is a general term used to describe a new class of network bas...
Radhika R
 
PPTX
containerization with example module and
Radhika R
 
PPTX
containers-in-cloud introduction example
Radhika R
 
PDF
Virtualization technology and virtualization
Radhika R
 
PDF
introduction to web technology and web application
Radhika R
 
PDF
Introduction to cloud delivery models of paas
Radhika R
 
PPTX
Virtualization Technology Hardware Independence Server Consolidation
Radhika R
 
PPTX
Computing hardware technologies include Rackamount form factor server with in...
Radhika R
 
PPT
Data centers are typically comprised of the following technologies and compon...
Radhika R
 
PPTX
A number of characteristics define cloud data, applications services and infr...
Radhika R
 
PPTX
Cloud computing is an umbrella term used to refer to Internet based developme...
Radhika R
 
ppt1.pptx introduction to cloud computing
Radhika R
 
cloud consumer perspective from IAAS security
Radhika R
 
module4 cloud provider and consumer persp
Radhika R
 
Lecture_1.1.pptx introduction to cloud ar
Radhika R
 
containers-in-cloud.pptx introduction part
Radhika R
 
containerization1. introduction to contain
Radhika R
 
moThese platforms hide the complexity and details of the underlying infrastru...
Radhika R
 
Cloud computing is a model for enabling convenient, on-demand network access ...
Radhika R
 
a collection/group of integrated and networked hardware, software and Interne...
Radhika R
 
Cloud Computing is a general term used to describe a new class of network bas...
Radhika R
 
containerization with example module and
Radhika R
 
containers-in-cloud introduction example
Radhika R
 
Virtualization technology and virtualization
Radhika R
 
introduction to web technology and web application
Radhika R
 
Introduction to cloud delivery models of paas
Radhika R
 
Virtualization Technology Hardware Independence Server Consolidation
Radhika R
 
Computing hardware technologies include Rackamount form factor server with in...
Radhika R
 
Data centers are typically comprised of the following technologies and compon...
Radhika R
 
A number of characteristics define cloud data, applications services and infr...
Radhika R
 
Cloud computing is an umbrella term used to refer to Internet based developme...
Radhika R
 
Ad

Recently uploaded (20)

PDF
FSE-Journal-First-Automated code editing with search-generate-modify.pdf
cl144
 
PDF
LLC CM NCP1399 SIMPLIS MODEL MANUAL.PDF
ssuser1be9ce
 
PDF
lesson4-occupationalsafetyandhealthohsstandards-240812020130-1a7246d0.pdf
arvingallosa3
 
PDF
June 2025 - Top 10 Read Articles in Network Security and Its Applications
IJNSA Journal
 
PPTX
Explore USA’s Best Structural And Non Structural Steel Detailing
Silicon Engineering Consultants LLC
 
PDF
Module - 4 Machine Learning -22ISE62.pdf
Dr. Shivashankar
 
PPTX
Kel.3_A_Review_on_Internet_of_Things_for_Defense_v3.pptx
Endang Saefullah
 
PPTX
darshai cross section and river section analysis
muk7971
 
PPTX
Functions in Python Programming Language
BeulahS2
 
PDF
CLIP_Internals_and_Architecture.pdf sdvsdv sdv
JoseLuisCahuanaRamos3
 
PPTX
CM Function of the heart pp.pptxafsasdfddsf
drmaneharshalid
 
PDF
June 2025 Top 10 Sites -Electrical and Electronics Engineering: An Internatio...
elelijjournal653
 
PPSX
OOPS Concepts in Python and Exception Handling
Dr. A. B. Shinde
 
PPTX
Engineering Quiz ShowEngineering Quiz Show
CalvinLabial
 
PDF
How to Buy Verified CashApp Accounts IN 2025
Buy Verified CashApp Accounts
 
PDF
Tesia Dobrydnia - An Avid Hiker And Backpacker
Tesia Dobrydnia
 
PDF
Bayesian Learning - Naive Bayes Algorithm
Sharmila Chidaravalli
 
PPTX
Stability of IBR Dominated Grids - IEEE PEDG 2025 - short.pptx
ssuser307730
 
PPTX
Diabetes diabetes diabetes diabetes jsnsmxndm
130SaniyaAbduNasir
 
PPTX
Comparison of Flexible and Rigid Pavements in Bangladesh
Arifur Rahman
 
FSE-Journal-First-Automated code editing with search-generate-modify.pdf
cl144
 
LLC CM NCP1399 SIMPLIS MODEL MANUAL.PDF
ssuser1be9ce
 
lesson4-occupationalsafetyandhealthohsstandards-240812020130-1a7246d0.pdf
arvingallosa3
 
June 2025 - Top 10 Read Articles in Network Security and Its Applications
IJNSA Journal
 
Explore USA’s Best Structural And Non Structural Steel Detailing
Silicon Engineering Consultants LLC
 
Module - 4 Machine Learning -22ISE62.pdf
Dr. Shivashankar
 
Kel.3_A_Review_on_Internet_of_Things_for_Defense_v3.pptx
Endang Saefullah
 
darshai cross section and river section analysis
muk7971
 
Functions in Python Programming Language
BeulahS2
 
CLIP_Internals_and_Architecture.pdf sdvsdv sdv
JoseLuisCahuanaRamos3
 
CM Function of the heart pp.pptxafsasdfddsf
drmaneharshalid
 
June 2025 Top 10 Sites -Electrical and Electronics Engineering: An Internatio...
elelijjournal653
 
OOPS Concepts in Python and Exception Handling
Dr. A. B. Shinde
 
Engineering Quiz ShowEngineering Quiz Show
CalvinLabial
 
How to Buy Verified CashApp Accounts IN 2025
Buy Verified CashApp Accounts
 
Tesia Dobrydnia - An Avid Hiker And Backpacker
Tesia Dobrydnia
 
Bayesian Learning - Naive Bayes Algorithm
Sharmila Chidaravalli
 
Stability of IBR Dominated Grids - IEEE PEDG 2025 - short.pptx
ssuser307730
 
Diabetes diabetes diabetes diabetes jsnsmxndm
130SaniyaAbduNasir
 
Comparison of Flexible and Rigid Pavements in Bangladesh
Arifur Rahman
 
Ad

containers-in-cloud introduction to ppts

Editor's Notes

  • #3: Why containers? Before we answer that question, lets take a look at the hardware installed on various production systems. Virt – tech that separates an os from physical resources. Reduce energy, vendor lock in, faster provisioning of servers, reduce data center footprint Hypervisor presents the the host os a complete set of cpu memory and disk fooling it to believe that its running on a real hardware. So this solves the hardware resources problem by abstracting the hardware from the OS and provides the ability of allocating chunks of compute when necessary
  • #4: Modern software systems are very complex. A simple app can have a RDBMS, a document DB, quques, middleware systems, static website etc. And all of these systems can be written in a plethora of languages as per the component needs. So you have many components with different runtimes, and you code that runs on them. Consider CI/CD env and things get really messy
  • #5: Multiple targets
  • #6: So complex software systems which requires multiple runtimes and are being distributed to variety of physical machines gives us a the Matrix hell
  • #7: Before we go further, lets look at a similar problem in the physical world. The shipping industry Until 1950s shipping was messy labor intensive and a drain Malcom Mclean invented the container which standardized the movement of cargo 1966 first international ship voyage
  • #8: So just like the shipping industry intermodal containers, our Linux container helps overcoming the matrix of hell
  • #9: Agenda – Just like meetings should have agenda. So you can decide if you want to stay 
  • #10: Sort of the definition from the linuxcontainer org
  • #11: Before we talk more about container, lets take a step back and understand the diff between virt and containerization So virt is a tech that separates the OS from the physical resources. The hypervisor provides a complete set of hardware, cpu, mem disk etc to the guest OS fooling it to believe that it is running on a real hardware Containerization, host and guests share the same kernel. Eliminates waste. Free of OS overhead So its considerably smaler, easier to move and most imp faster to provision I/O and mem are also close to native perf But all containers need to share the same base linux kernel
  • #12: Containers are not something that Docker invented. The bases of containers have been available in the linux kernel in some form since many year now. Chroot – or change root. Changes root dir of process and child process. So provides isolation of some form to install virtualized copies of software Cgroups – limits and isolates resource usage of a collection of processes LXC – is an OS level virtualization that is built using Linux kernel features like chroot, cgroups, namespaces etc
  • #13: LXC is a userspace interface for linux kernel containment features LXC creates a env as close to a standard linux kernel but without the need for a separate kernel Its between a chroot and a full fledged VM Kernel namespaces – ipc, uts, mount, pid, network and user Just as chroot allows processes to see any arbitrary directory as the root of the system (independent of the rest of the processes), Linux namespaces allow other aspects of the operating system to be independently modified as well. This includes the process tree, networking interfaces, mount points, inter-process communication resources and more Apparmor and SELinux profiles Linux kernel security allow for easy control of access between processes and objects, processes and other processes, and objects and other objects Seccomp policies restrict system calls that can be made from a process. Key component in sandboxing Chroots arbitory directory Cgroups allocates resources such as system mem, network bw, CPU time to user defined groups of process. They can controlled, monitored and changed. This is how you can limit cpu and mem. All linux process are children of a common parent: init process. Cgroups are also hierarchical but multiple hierarchy can exist at the same time. Unconnected trees of processes
  • #14: Docker is open source software to build ship and run any application as a container. Specifically LXC container. It extends LXC. Make it more usable by application developers. Docker containers are very light weight. Optimized with layers so easy to transport Cross platform dependencies Conflicting dependencies Custom dependencies
  • #15: Dockerd process runs as a daemon on a Linux system Core process that manages building of images, publishing them to registries and run them Docker d exposes a http api. Client talks to the daemon using the http api. Registry is where docker images are stored. Which can be later pulled
  • #16: What is a docker file. Set of linux commands that describes you images. Docker defines a build as running a sequence of Unix commands, one after the other, in the same container. Build commands modify the contents of the container (usually by installing new files on the filesystem), the next command modifies it some more, etc. Since each build command inherits the result of the previous commands, the order in which the commands are executed expresses dependencies. Show a sample from out git repo Docker build – sends the build context to the daemon which process the dockerfile and creates an image Docker run – runs a container for that image
  • #17: Container before docker We have used this sometimes to describe Cars.com arch 
  • #18: With Docker creating deploying and managing linux container is very simple
  • #19: Orchestration So we can run containers. But what about multiple containers that for an application? What about 100s of container instances across multiple server spread over a large geographic area? That when orchestration tools come in. They should have the benefits listed hear Many players in this space
  • #20: What is docker swarm. We want to talk about swarm because since docker 1.12, cluster management and routing capabilities are built in Not a complete orchestration tool But provides a lot of cluster management tools with in the docker engine itself
  • #21: Lets pray to the demo gods Add a swarm worker using terraform. Export DOCKER_HOST to one of the mangers Show docker node ls Docker network ls Etc Take a clutch based app and add PUBLISHED_PORT and INSTANCES in the mk file And run powertrain service create