But What About Docker?
-
Upload
joshua-mckenty -
Category
Technology
-
view
4.215 -
download
1
description
Transcript of But What About Docker?
![Page 1: But What About Docker?](https://reader034.fdocuments.us/reader034/viewer/2022042502/5560fa00d8b42a0e408b4d68/html5/thumbnails/1.jpg)
But what about Docker?Containers and PaaS and VMs, oh my!
![Page 2: But What About Docker?](https://reader034.fdocuments.us/reader034/viewer/2022042502/5560fa00d8b42a0e408b4d68/html5/thumbnails/2.jpg)
• CPU cycles• Disk I/O• Network access• Other physical resources (GPUs,
HBAs)
What’s a Run-Time Environment?
![Page 3: But What About Docker?](https://reader034.fdocuments.us/reader034/viewer/2022042502/5560fa00d8b42a0e408b4d68/html5/thumbnails/3.jpg)
• Isolation• Launch speed• Run-time performance
RTE Criteria
• Multi-server orchestration• HA characteristics• Update mechanisms
But also…
![Page 4: But What About Docker?](https://reader034.fdocuments.us/reader034/viewer/2022042502/5560fa00d8b42a0e408b4d68/html5/thumbnails/4.jpg)
Process Container Virtual Server Bare Metal
Applications
Services
An ecosystem of tools
![Page 5: But What About Docker?](https://reader034.fdocuments.us/reader034/viewer/2022042502/5560fa00d8b42a0e408b4d68/html5/thumbnails/5.jpg)
Containers (and Docker)
![Page 6: But What About Docker?](https://reader034.fdocuments.us/reader034/viewer/2022042502/5560fa00d8b42a0e408b4d68/html5/thumbnails/6.jpg)
• Containers started out at Sun in the 90s.
• They are an extension of traditional OS-level isolation primitives, including file-system ACLs, to control access to shared physical resources.
• They have matured with network namespaces and overlay filesystems
Some Background
![Page 7: But What About Docker?](https://reader034.fdocuments.us/reader034/viewer/2022042502/5560fa00d8b42a0e408b4d68/html5/thumbnails/7.jpg)
Docker: Making containers easy
• Great command line tools• Well-integrated overlay filesystems• Well-integrated network
management
![Page 8: But What About Docker?](https://reader034.fdocuments.us/reader034/viewer/2022042502/5560fa00d8b42a0e408b4d68/html5/thumbnails/8.jpg)
Pros:• Wickedly fast• Simple to
deploy• Abstracted
from the base OS
Cons:• No windows• No *nix• Doesn’t
address the hard problems (multi-server, multi-tier, in-place upgrades, or HA)
So… containers via Docker
![Page 9: But What About Docker?](https://reader034.fdocuments.us/reader034/viewer/2022042502/5560fa00d8b42a0e408b4d68/html5/thumbnails/9.jpg)
• UX matters.• UX matters… a LOT.
• Built-in emulator for learning.• Built-in hosted image repository.• Good json output.• Really damn easy install.
So why is it so popular!?
![Page 10: But What About Docker?](https://reader034.fdocuments.us/reader034/viewer/2022042502/5560fa00d8b42a0e408b4d68/html5/thumbnails/10.jpg)
Micro-OS for Fun and Profit
![Page 11: But What About Docker?](https://reader034.fdocuments.us/reader034/viewer/2022042502/5560fa00d8b42a0e408b4d68/html5/thumbnails/11.jpg)
• Iocane (Piston Cloud)• SmartOS (Joyent)• CoreOS (Alex Polvi)• OSv (Cloudius Systems)• Mirage (XenServer)
Micro-OS Ecosystem
![Page 12: But What About Docker?](https://reader034.fdocuments.us/reader034/viewer/2022042502/5560fa00d8b42a0e408b4d68/html5/thumbnails/12.jpg)
Containers and (Micro) OSs
Physical Server
Host OS
Container Hypervisor
App App
App
App
OS OS
Container
App
![Page 13: But What About Docker?](https://reader034.fdocuments.us/reader034/viewer/2022042502/5560fa00d8b42a0e408b4d68/html5/thumbnails/13.jpg)
PaaS
![Page 14: But What About Docker?](https://reader034.fdocuments.us/reader034/viewer/2022042502/5560fa00d8b42a0e408b4d68/html5/thumbnails/14.jpg)
• It’s not the method of isolation• It’s not the operating system
What isn’t PaaS?
• Automation of app placement & scaling• Orchestration of services and infrastructure
What is PaaS?
![Page 15: But What About Docker?](https://reader034.fdocuments.us/reader034/viewer/2022042502/5560fa00d8b42a0e408b4d68/html5/thumbnails/15.jpg)
Turning this… …into this:
Understanding PaaS
.war .jar
dependencies
libraries
service manifest
App App App
LB
DB
Multi-server run time environment(s)
.tar.gz
![Page 16: But What About Docker?](https://reader034.fdocuments.us/reader034/viewer/2022042502/5560fa00d8b42a0e408b4d68/html5/thumbnails/16.jpg)
Takeaways
![Page 17: But What About Docker?](https://reader034.fdocuments.us/reader034/viewer/2022042502/5560fa00d8b42a0e408b4d68/html5/thumbnails/17.jpg)
• Everything in cloud competes with everything else, at a 40% overlap.
• Most PaaS use some kind of process isolation (containers or whatever) internally.
• The process isolation isn’t the hard part.
• UX matters.
Takeaways