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
Kyle Bai
March 21, 2019
Technology
2
130
SRE 讀書會 #3 - 重新認識 Docker 容器
Kyle Bai
March 21, 2019
Tweet
Share
More Decks by Kyle Bai
See All by Kyle Bai
讓 Jenkins 老爺爺掌舵帶領開發者航向美好新世界
kairen
1
200
AWS Startup 2020 - AMIS
kairen
0
61
學習 Kubernetes 不是為了成為 YAML Engineer
kairen
0
290
How to make your container:Kubernetes is a bit more secure
kairen
0
160
Vishwakarma: Terraform modules for deploying EKS and Self-hosting Kubernetes(AWS))
kairen
0
80
Vishwakarma: Terraform modules for deploying EKS and Self-hosting Kubernetes
kairen
0
83
Chatbot as a Service on Container(Kubernetes)
kairen
0
890
IT IRONMAN 2020
kairen
0
71
Advanced Kubernetes For UMC
kairen
0
140
Other Decks in Technology
See All in Technology
サイバーエージェントグループのSRE10年の歩みとAI時代の生存戦略
shotatsuge
4
540
Delegating the chores of authenticating users to Keycloak
ahus1
0
160
Sansanのデータプロダクトマネジメントのアプローチ
sansantech
PRO
0
200
PO初心者が考えた ”POらしさ”
nb_rady
0
220
[ JAWS-UG千葉支部 x 彩の国埼玉支部 ]ムダ遣い卒業!FinOpsで始めるAWSコスト最適化の第一歩
sh_fk2
2
140
インフラ寄りSREの生存戦略
sansantech
PRO
8
2.9k
AIの全社活用を推進するための安全なレールを敷いた話
shoheimitani
2
570
VS CodeとGitHub Copilotで爆速開発!アップデートの波に乗るおさらい会 / Rapid Development with VS Code and GitHub Copilot: Catch the Latest Wave
yamachu
2
200
AWS CDK 開発を成功に導くトラブルシューティングガイド
wandora58
3
130
20250707-AI活用の個人差を埋めるチームづくり
shnjtk
6
4k
CDK Vibe Coding Fes
tomoki10
1
320
american aa airlines®️ USA Contact Numbers: Complete 2025 Support Guide
aaguide
0
410
Featured
See All Featured
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.9k
The Cult of Friendly URLs
andyhume
79
6.5k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
50
5.5k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.6k
Making the Leap to Tech Lead
cromwellryan
134
9.4k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
970
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
60k
Producing Creativity
orderedlist
PRO
346
40k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
46
9.6k
BBQ
matthewcrist
89
9.7k
Building Adaptive Systems
keathley
43
2.7k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
32
2.4k
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!!!