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
120
SRE 讀書會 #3 - 重新認識 Docker 容器
Kyle Bai
March 21, 2019
Tweet
Share
More Decks by Kyle Bai
See All by Kyle Bai
讓 Jenkins 老爺爺掌舵帶領開發者航向美好新世界
kairen
1
170
AWS Startup 2020 - AMIS
kairen
0
44
學習 Kubernetes 不是為了成為 YAML Engineer
kairen
0
250
How to make your container:Kubernetes is a bit more secure
kairen
0
140
Vishwakarma: Terraform modules for deploying EKS and Self-hosting Kubernetes(AWS))
kairen
0
69
Vishwakarma: Terraform modules for deploying EKS and Self-hosting Kubernetes
kairen
0
58
Chatbot as a Service on Container(Kubernetes)
kairen
0
830
IT IRONMAN 2020
kairen
0
54
Advanced Kubernetes For UMC
kairen
0
120
Other Decks in Technology
See All in Technology
re:Invent2024 KeynoteのAmazon Q Developer考察
yusukeshimizu
1
150
自社 200 記事を元に整理した読みやすいテックブログを書くための Tips 集
masakihirose
2
330
2024AWSで個人的にアツかったアップデート
nagisa53
1
110
【JAWS-UG大阪 reInvent reCap LT大会 サンバが始まったら強制終了】“1分”で初めてのソロ参戦reInventを数字で振り返りながら反省する
ttelltte
0
140
【Oracle Cloud ウェビナー】2025年のセキュリティ脅威を読み解く:リスクに備えるためのレジリエンスとデータ保護
oracle4engineer
PRO
1
100
comilioとCloudflare、そして未来へと向けて
oliver_diary
6
450
AWSマルチアカウント統制環境のすゝめ / 20250115 Mitsutoshi Matsuo
shift_evolve
0
120
Amazon Route 53, 待ちに待った TLSAレコードのサポート開始
kenichinakamura
0
170
Evolving Architecture
rainerhahnekamp
3
260
.NET AspireでAzure Functionsやクラウドリソースを統合する
tsubakimoto_s
0
190
Unsafe.BitCast のすゝめ。
nenonaninu
0
200
今から、 今だからこそ始める Terraform で Azure 管理 / Managing Azure with Terraform: The Perfect Time to Start
nnstt1
0
240
Featured
See All Featured
The Invisible Side of Design
smashingmag
299
50k
Done Done
chrislema
182
16k
GraphQLの誤解/rethinking-graphql
sonatard
68
10k
Being A Developer After 40
akosma
89
590k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
How to train your dragon (web standard)
notwaldorf
89
5.8k
For a Future-Friendly Web
brad_frost
176
9.5k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
173
51k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
192
16k
Keith and Marios Guide to Fast Websites
keithpitt
410
22k
Unsuck your backbone
ammeep
669
57k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
7
570
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!!!