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
64
學習 Kubernetes 不是為了成為 YAML Engineer
kairen
0
300
How to make your container:Kubernetes is a bit more secure
kairen
0
170
Vishwakarma: Terraform modules for deploying EKS and Self-hosting Kubernetes(AWS))
kairen
0
84
Vishwakarma: Terraform modules for deploying EKS and Self-hosting Kubernetes
kairen
0
86
Chatbot as a Service on Container(Kubernetes)
kairen
0
900
IT IRONMAN 2020
kairen
0
73
Advanced Kubernetes For UMC
kairen
0
140
Other Decks in Technology
See All in Technology
Browser
recruitengineers
PRO
3
260
制約理論(ToC)入門
recruitengineers
PRO
2
250
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
30k
歴代のWeb Speed Hackathonの出題から考えるデグレしないパフォーマンス改善
shuta13
6
600
LLMエージェント時代に適応した開発フロー
hiragram
1
410
Webアクセシビリティ入門
recruitengineers
PRO
1
220
R-SCoRe: Revisiting Scene Coordinate Regression for Robust Large-Scale Visual Localization
takmin
0
430
「守る」から「進化させる」セキュリティへ ~AWS re:Inforce 2025参加報告~ / AWS re:Inforce 2025 Participation Report
yuj1osm
1
110
RAID6 を楔形文字で組んで現代人を怖がらせましょう(実装編)
mimifuwa
0
300
7月のガバクラ利用料が高かったので調べてみた
techniczna
3
240
Gaze-LLE: Gaze Target Estimation via Large-Scale Learned Encoders
kzykmyzw
0
310
kintone開発チームの紹介
cybozuinsideout
PRO
0
73k
Featured
See All Featured
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.4k
The Language of Interfaces
destraynor
160
25k
Rails Girls Zürich Keynote
gr2m
95
14k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
8
890
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
183
54k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
26k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Designing for Performance
lara
610
69k
How to train your dragon (web standard)
notwaldorf
96
6.2k
[RailsConf 2023] Rails as a piece of cake
palkan
56
5.8k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
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!!!