SlideShare a Scribd company logo
Containers & CaaS
Who am I?
Yujie Du
About: https://about.me/Yujie.Du

Twitter: @ben_duyujie
Email: duyujie.dyj@gmail.com
Linkedin: https://www.linkedin.com/in/duyujie
Download: https://www.slideshare.net/ben_duyujie/containers-caas/
Containers & CaaS
Containers & CaaS
One company has certainly found growth by
injecting software into its industry.
source: http://thenewstack.io/uber-netflix-and-the-dreams-of-devops-and-microservices/
5
Uber's rumored net revenue
2013 2014 2015
2000
400
108
Since	2000,	52%	of	the	Fortune	
500	are	no	longer	on	the	list.	
The	pace	of	change	has	increased.
Docker will play a central role for every player in that market.
Private Hybrid Public
IT Pros DeploymentPackaging Architects Developers
Docker is also the contract between Developers and Operations. Developers and Operations often have very different attitudes when it comes to choosing tools and environments.
IT Pros DeploymentPackaging Architects Developers
Waterfall
Agile
DevOps
Monolithic
N-Tier
Microservices
Datacenter
Hosted
Cloud
Physical Servers
Virtual Servers
Containers
Cloud Native Application
Figure from M. Schwarzkopf, “Operating system support for warehouse-scale computing”, PhD thesis, University of Cambridge, 2015 (to appear).
Details & Bibliography: http://malteschwarzkopf.de/research/assets/google-stack.pdf
Retail Finance Media Transportation App
Container
App	Dev	
“Monolithic”
Systems	Management	1
VMware	
Microsoft	
Linux
Hardware
App	Dev	
“Cloud-native”
Systems	Management	2
OpenStack	
Cloud	Foundry	
AWS	
etc.
Hardware
Systems	Management	3
Docker	
Mesos	
CoreOS	
Kubernetes	etc.
Hardware
Plain old virtualization Cloud, public and private
Management tools
always(?) change
What runs
everything, most of
attention is here
Hardware no longer
eating the world -
cheaper, faster
Shift from web, to
web + mobile
A single API for managing applications on 4 infrastructures
Containers & CaaS
Physical Processor
Virtual Processor
Operating System
Libraries
User Code Private
Copy
Shared
Virtual Machines
Physical Processor
Virtual Processor
Operating System
Libraries
User Code
Containers
ISA
syscall
Containers: less overhead, enable more “magic”
Sandboxing(chroot jails)
Various projects... chroot (1979) jail
Linux-VServer OpenVZ ...
Linux container(chroot + OS isolation)
brought into the kernel... namespaces
cgroups SELinux AppArmor btrs/aufs/
device mapper/etc ...
Docker (LXC + packaging)
and packaged up. systemd-nspawn
LXC lmctfy libvirt-lxc Docker /
libcontainer rkt / appc ...
Containers are isolated, portable environments where you can run applications along with all the
libraries and dependencies they need.
User request
Linux Kernel
hardware
shell Application
Each user has a
home directory and
process directory
Run in
memory
A paradigm shift for the O/S :
Redefines “Kernel Space” & “User Space”
Better fit for distributed computing
Who built this image?
What’s its purpose?
Was it created to support a demo?
Is it safe to consume?
Who maintains it?
RED HAT CERTIFIED
Trusted source for the host and the
containers

Trusted content inside the
container with security Dxes
available as part of an enterprise
lifecycle
Portability across hosts
HW
HostOS
Containers
Certify
Process	A
fork()
Process	A	
continues
Process	B
execev()
exit()
wait() ZOMBIE
SIGCHLD
clean	up
Child	-	new	PID
executes	a		
different	program	!
Parent	-	original	PID
Reference:	http://www.lynx.com/the-fork-call-posix-processes-and-parent-child-relationships
1.
Docker	Daemon
process
fork
exec
dockerinit ENTRYPOINT CMD		(your	application)
2. 3.
new	namespaces
init	namespaces
the	only	process	(same	PID)
cgroups	applied	
Docker	Container
process process process
process
Docker	Container	is	born	just	by	syscall	fork	and	exec	a	process	
1.
CGROUPS NAMESPACES IMAGES
DOCKER
CONTAINER
• Kernel Feature
• Groups of Processes
• Control Resource
Allocation
• CPU, CPU Sets
• Memory
• Disk
• Block I/O
• Not a File System
• Not a VHD
• Basically a tar file
• Has a Hierarchy
• Arbitrary Depth
• Fits into Docker Registry
• The real magic behind
containers
• It creates barriers between
processes
• Different Namespaces
• PID Namespace
• Net Namespace
• IPC Namespace
• MNT Namespace
• Linux Kernel Namespace
introduced between kernel
2.6.15 – 2.6.26
docker run lxc-start
Containers & CaaS
Containers & CaaS
Open Container Initiative+ =
ACS
ACS
ACI
ID
Signed Encrypted
Archive
Manifest Rootfs
veth ipvlan macvlan raw dev
FS Volume
Environment
Logging
Isolators
Capabilities
Linux
Isolators
Resource
Isolators
block network
cpu memory
Runtime Env
Pods
UUID Manifest
Executor
Image Discovery
Simple Discovery
Meta Discovery
Network
loopback
ip
overlay
DM
cgroup
Application Containers
“An application container is a way
of packaging and executing
processes on a computer system
that isolates the application from
the underlying host operating
system”
https://github.com/appc/spec,
2015.
CNM & CNI
Libnetwork: Docker 1.7
Container Network Model,CNM
AppC
Container Network Interface,CNI
https://www.ibm.com/developerworks/community/blogs/1ba56fe3-efad-432f-a1ab-58ba3910b073/entry/thoughts_on_future_of_resource_managers_and_schedulers_in_the_cloud?lang=en
IaaSCapacity (VM, Storage…)
PaaSApp (code)
CaaSApp container
CNCF & OCI
Application definition and orchestration
Resource scheduling
Distributed system services
Container Runtime agent Container registry
Container repositoryComputing node OS
Software define network Software define storage
Infrastructure provisioning
Out of scope
Api specification
OCI and specification
Reference implementation
OCI api spec
.
.….N
http://stackalytics.com/
Docker Kubernetes
The End~
Containers & CaaS
Containers & CaaS
Containers & CaaS
Containers & CaaS
Containers & CaaS

More Related Content

PDF
Learn OpenStack from trystack.cn
PDF
Docker openstack-2014
PPT
OaaS:Open as a Strategy
PPTX
Docker, the Future of Distributed Applications | Docker Tour de France 2014
PDF
Aws ug dxb 2021 container series iv
PPTX
A Dive Into Containers and Docker
PDF
Head first docker
PDF
Openbar 7 - Leuven - OpenShift - The Enterprise Container Platform - Piros
Learn OpenStack from trystack.cn
Docker openstack-2014
OaaS:Open as a Strategy
Docker, the Future of Distributed Applications | Docker Tour de France 2014
Aws ug dxb 2021 container series iv
A Dive Into Containers and Docker
Head first docker
Openbar 7 - Leuven - OpenShift - The Enterprise Container Platform - Piros

What's hot (20)

PDF
Mihai Criveti - PyCon Ireland - Automate Everything
PPTX
Moby Open Source Summit North America 2017
PDF
Building Domain-specific PaaS with OpenShift Origin: The TRESOR Healthcare P...
PDF
War of Openstack Private Cloud Distribution
PPTX
Docker Seattle Meetup April 2015 - The Docker Orchestration Ecosystem on Azure
PDF
Docker Dhahran Nov 2016 meetup
PPT
Docker benefits v0.1
PPTX
Top 5 benefits of docker
PPTX
Moby Introduction - June 2017
PDF
IAU workshop 2018 day one
PDF
What HPC can learn from DevOps?
PPTX
Docker Cap Gemini CloudXperience 2017 - la revolution des conteneurs logiciels
PDF
DevOps Indonesia #5 - The Future of Containers
PDF
PaaS Lessons: Cisco IT Deploys OpenShift to Meet Developer Demand
PDF
Docker, what's next ?
PDF
DevOps Days Boston 2017: Developer first workflows for Kubernetes
PPTX
Container as a Service with Docker
PPTX
Accelerating the Next 10,000 Clouds by Michael Kadera, Intel
PDF
What is Docker | Docker Tutorial for Beginners | Docker Container | DevOps To...
PPTX
Opening words at DockerCon Europe by Ben Golub
Mihai Criveti - PyCon Ireland - Automate Everything
Moby Open Source Summit North America 2017
Building Domain-specific PaaS with OpenShift Origin: The TRESOR Healthcare P...
War of Openstack Private Cloud Distribution
Docker Seattle Meetup April 2015 - The Docker Orchestration Ecosystem on Azure
Docker Dhahran Nov 2016 meetup
Docker benefits v0.1
Top 5 benefits of docker
Moby Introduction - June 2017
IAU workshop 2018 day one
What HPC can learn from DevOps?
Docker Cap Gemini CloudXperience 2017 - la revolution des conteneurs logiciels
DevOps Indonesia #5 - The Future of Containers
PaaS Lessons: Cisco IT Deploys OpenShift to Meet Developer Demand
Docker, what's next ?
DevOps Days Boston 2017: Developer first workflows for Kubernetes
Container as a Service with Docker
Accelerating the Next 10,000 Clouds by Michael Kadera, Intel
What is Docker | Docker Tutorial for Beginners | Docker Container | DevOps To...
Opening words at DockerCon Europe by Ben Golub
Ad

Viewers also liked (19)

PDF
長野市民病院中期目標(案)に対する議会からの意見への対応
DOCX
PPTX
Все выпуски
PPTX
Don't Let the College Sticker Price Fool Ya!
PDF
XP祭り2011 LT
PPTX
FP7 - Capability as a Service (CaaS)
PDF
Our beliefs are what limit us
DOCX
Work problems
DOCX
Ecosistemas (empezando)
DOCX
"Sprites' Fair" (script) (musical)
PPT
Greetings and farewells
DOCX
Field Study 4 Episode 8
PPTX
The Rise of Communications-as-a-Service (CaaS)
PDF
Facebook - Options de ciblage
PPT
IM Club: Do You Trust Social Media Automation?
PPT
Sweet pizza
PDF
Ba759 e70 4b70-45e3-896deb1f6574f53e
PPTX
PDF
Pro bono 101 for Organizations
長野市民病院中期目標(案)に対する議会からの意見への対応
Все выпуски
Don't Let the College Sticker Price Fool Ya!
XP祭り2011 LT
FP7 - Capability as a Service (CaaS)
Our beliefs are what limit us
Work problems
Ecosistemas (empezando)
"Sprites' Fair" (script) (musical)
Greetings and farewells
Field Study 4 Episode 8
The Rise of Communications-as-a-Service (CaaS)
Facebook - Options de ciblage
IM Club: Do You Trust Social Media Automation?
Sweet pizza
Ba759 e70 4b70-45e3-896deb1f6574f53e
Pro bono 101 for Organizations
Ad

Similar to Containers & CaaS (20)

PPTX
Bahrain ch9 introduction to docker 5th birthday
PPTX
Using Docker EE in a CI/CD Workflow
PDF
EMC DevOps Day Aug-2015 - Stormy Peters, Cloud Foundry Foundation
PDF
DockerCon EU 2015: Day 1 General Session
PDF
Containers - Portable, repeatable user-oriented application delivery. Build, ...
PPTX
Webinar by ZNetLive & Plesk- Winning the Game for WebOps and DevOps
PPTX
Docker Bday #5, SF Edition: Introduction to Docker
PDF
What is Docker & Why is it Getting Popular?
PPTX
Containers: DevOp Enablers of Technical Solutions
PDF
HPC Cloud Burst Using Docker
PPTX
DockerCon 16 General Session Day 2
PDF
Tampere Docker meetup - Happy 5th Birthday Docker
PDF
InterConnect 2015: 3962 Docking DevOps
PDF
Getting started with docker
PPTX
Azure ai on premises with docker
PDF
Docker, Cloud Foundry, Bosh & Bluemix
 
PPTX
DevOps Training institute in Ameerpet
PDF
Docker Birthday #5 Meetup Cluj - Presentation
PDF
Docker Overview - Rise of the Containers
PPTX
PittsburgJUG_Cloud-Native Dev Tools: Bringing the cloud back to earth
Bahrain ch9 introduction to docker 5th birthday
Using Docker EE in a CI/CD Workflow
EMC DevOps Day Aug-2015 - Stormy Peters, Cloud Foundry Foundation
DockerCon EU 2015: Day 1 General Session
Containers - Portable, repeatable user-oriented application delivery. Build, ...
Webinar by ZNetLive & Plesk- Winning the Game for WebOps and DevOps
Docker Bday #5, SF Edition: Introduction to Docker
What is Docker & Why is it Getting Popular?
Containers: DevOp Enablers of Technical Solutions
HPC Cloud Burst Using Docker
DockerCon 16 General Session Day 2
Tampere Docker meetup - Happy 5th Birthday Docker
InterConnect 2015: 3962 Docking DevOps
Getting started with docker
Azure ai on premises with docker
Docker, Cloud Foundry, Bosh & Bluemix
 
DevOps Training institute in Ameerpet
Docker Birthday #5 Meetup Cluj - Presentation
Docker Overview - Rise of the Containers
PittsburgJUG_Cloud-Native Dev Tools: Bringing the cloud back to earth

More from OpenCity Community (20)

PDF
开源讲义.pdf
PDF
物联网操作系统漫谈-GIAC大会.pdf
PDF
2017开源年会-企业开源那些事儿-更新.pdf
PDF
社会化研发
PDF
Hello openstack 2014
PDF
OpenStack系列公开课2 -20130508
PDF
OpenStack ecosystem
PDF
How to master OpenStack in 2 hours
PDF
Learn OpenStack from trystack.cn ——Folsom in practice
PDF
Quantum Networks
PDF
云计算思考
PDF
Openstorage Openstack
PDF
Openstack的研究与实践
PDF
Open Stack Cheng Du Swift Alex Yang
PDF
Nova与虚拟机管理
PDF
Look Into Libvirt Osier Yang
PDF
Deep Dive Into Quantum
PDF
Cinder Status Openstack Shanghai
PDF
2012 11 Openstack China
PDF
Open Stack China Trip Sz0922
开源讲义.pdf
物联网操作系统漫谈-GIAC大会.pdf
2017开源年会-企业开源那些事儿-更新.pdf
社会化研发
Hello openstack 2014
OpenStack系列公开课2 -20130508
OpenStack ecosystem
How to master OpenStack in 2 hours
Learn OpenStack from trystack.cn ——Folsom in practice
Quantum Networks
云计算思考
Openstorage Openstack
Openstack的研究与实践
Open Stack Cheng Du Swift Alex Yang
Nova与虚拟机管理
Look Into Libvirt Osier Yang
Deep Dive Into Quantum
Cinder Status Openstack Shanghai
2012 11 Openstack China
Open Stack China Trip Sz0922

Recently uploaded (20)

PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Modernizing your data center with Dell and AMD
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
A Presentation on Artificial Intelligence
PDF
Empathic Computing: Creating Shared Understanding
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
Cloud computing and distributed systems.
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Approach and Philosophy of On baking technology
PDF
KodekX | Application Modernization Development
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Per capita expenditure prediction using model stacking based on satellite ima...
Modernizing your data center with Dell and AMD
Mobile App Security Testing_ A Comprehensive Guide.pdf
Understanding_Digital_Forensics_Presentation.pptx
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Diabetes mellitus diagnosis method based random forest with bat algorithm
Agricultural_Statistics_at_a_Glance_2022_0.pdf
MYSQL Presentation for SQL database connectivity
A Presentation on Artificial Intelligence
Empathic Computing: Creating Shared Understanding
NewMind AI Weekly Chronicles - August'25 Week I
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Spectral efficient network and resource selection model in 5G networks
Cloud computing and distributed systems.
Digital-Transformation-Roadmap-for-Companies.pptx
Approach and Philosophy of On baking technology
KodekX | Application Modernization Development
Encapsulation_ Review paper, used for researhc scholars
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...

Containers & CaaS