Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
SRE 讀書會 #3 - 重新認識 Docker 容器
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Kyle Bai
March 21, 2019
Technology
2
140
SRE 讀書會 #3 - 重新認識 Docker 容器
Kyle Bai
March 21, 2019
Tweet
Share
More Decks by Kyle Bai
See All by Kyle Bai
讓 Jenkins 老爺爺掌舵帶領開發者航向美好新世界
kairen
1
240
AWS Startup 2020 - AMIS
kairen
0
85
學習 Kubernetes 不是為了成為 YAML Engineer
kairen
0
340
How to make your container:Kubernetes is a bit more secure
kairen
0
200
Vishwakarma: Terraform modules for deploying EKS and Self-hosting Kubernetes(AWS))
kairen
0
98
Vishwakarma: Terraform modules for deploying EKS and Self-hosting Kubernetes
kairen
0
130
Chatbot as a Service on Container(Kubernetes)
kairen
0
960
IT IRONMAN 2020
kairen
0
98
Advanced Kubernetes For UMC
kairen
0
180
Other Decks in Technology
See All in Technology
TypeScript 7.0の現在地と備え方
uhyo
7
1.8k
エンジニアリングマネージャーの仕事
yuheinakasaka
0
110
The_Evolution_of_Bits_AI_SRE.pdf
nulabinc
PRO
0
240
S3はフラットである –AWS公式SDKにも存在した、 署名付きURLにおけるパストラバーサル脆弱性– / JAWS DAYS 2026
flatt_security
0
1.8k
バクラク最古参プロダクトで重ねた技術投資を振り返る
ypresto
0
170
(Test) ai-meetup slide creation
oikon48
3
440
ソフトバンク流!プラットフォームエンジニアリング実現へのアプローチ
sbtechnight
1
190
Go標準パッケージのI/O処理をながめる
matumoto
0
220
OpenClaw を Amazon Lightsail で動かす理由
uechishingo
0
180
銀行の内製開発にて2つのプロダクトを1つのチームでスクラムしてみてる話
koba1210
1
140
詳解 強化学習 / In-depth Guide to Reinforcement Learning
prinlab
0
270
組織全体で実現する標準監視設計
yuobayashi
3
490
Featured
See All Featured
Information Architects: The Missing Link in Design Systems
soysaucechin
0
830
How Software Deployment tools have changed in the past 20 years
geshan
0
33k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
0
460
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
1
3.5k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
140
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.5k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
86
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
130
エンジニアに許された特別な時間の終わり
watany
106
240k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
140
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
250
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
160
Transcript
@k2r2bai 重新認識 Docker 容器 SRE 讀書會 #3
@k2r2bai
@k2r2bai
@k2r2bai
@k2r2bai
@k2r2bai
@k2r2bai
@k2r2bai
@k2r2bai Cloud native computing uses an open source software stack
to be: • Containerized. • Dynamically orchestrated. • Microservices oriented. • Service meshes • Immutable infrastructure • Declarative APIs What is ‘Cloud Native’(aka K8s Native)?
@k2r2bai Docker acquired by Micro$oft
Virtualization
@k2r2bai • 沒有隔離 • 沒有命名空間 • 共⽤用常⾒見見的函式庫 • ⾼高耦合的應⽤用程式與作業系統 Bare-metal
Machines kernel libs app app app app
@k2r2bai • 隔離性⾼高 • 效能會損失 • 同樣有⾼高耦合的應⽤用程式與作業系統 • 多虛擬機管理理效率差 •
啟動時間慢 • 系統映像檔容量量較肥 • 粒度粗 Virtual Machines app libs kernel libs app app kernel app libs libs kernel kernel 作業系統層級
@k2r2bai • 效能佳 • 透過 namespace 隔離網路路、UID 等 • 與
OS Kernel ⾼高耦合 • 啟動時間快 • 應⽤用映像檔容量量較⼩小(⼩小⾄至 10 MB),攜帶性佳 • 粒度細,利利⽤用密度提升 Containers(OS-Level Virtualization) libs app kernel libs app libs app libs app 應⽤用程式層級
@k2r2bai • 取虛擬機與容器之間的特性平衡 • 輕量量的虛擬機環境 • 或是實作在 User namespace •
gVisor • Kata containers • Firecracker Hpyervisor-based Containers
Docker
@k2r2bai What is Docker?
@k2r2bai
@k2r2bai
@k2r2bai
@k2r2bai
@k2r2bai
@k2r2bai
@k2r2bai How "docker exec" works?
@k2r2bai How "docker exec" works?
@k2r2bai How "docker exec" works?
@k2r2bai docker run -v /test docker run -v /home:/test >>>>>>
>>>>>> /var/lib/docker/volumes/[VOLUMME_ID]/_data host /home to container /test Linux bind mount
@k2r2bai KAIREN OUT!! THANK YOU!!!