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
210
AWS Startup 2020 - AMIS
kairen
0
69
學習 Kubernetes 不是為了成為 YAML Engineer
kairen
0
310
How to make your container:Kubernetes is a bit more secure
kairen
0
180
Vishwakarma: Terraform modules for deploying EKS and Self-hosting Kubernetes(AWS))
kairen
0
88
Vishwakarma: Terraform modules for deploying EKS and Self-hosting Kubernetes
kairen
0
93
Chatbot as a Service on Container(Kubernetes)
kairen
0
920
IT IRONMAN 2020
kairen
0
80
Advanced Kubernetes For UMC
kairen
0
150
Other Decks in Technology
See All in Technology
JAWS UG AI/ML #32 Amazon BedrockモデルのライフサイクルとEOL対応/How Amazon Bedrock Model Lifecycle Works
quiver
1
120
RemoteFunctionを使ったコロケーション
mkazutaka
1
150
Behind Postgres 18: The People, the Code, & the Invisible Work | Claire Giordano | PGConfEU 2025
clairegiordano
0
150
Amazon Athena で JSON・Parquet・Iceberg のデータを検索し、性能を比較してみた
shigeruoda
1
230
20251029_Cursor Meetup Tokyo #02_MK_「あなたのAI、私のシェル」 - プロンプトインジェクションによるエージェントのハイジャック
mk0721
PRO
6
2k
進化する大規模言語モデル評価: Swallowプロジェクトにおける実践と知見
chokkan
PRO
1
190
アウトプットから始めるOSSコントリビューション 〜eslint-plugin-vueの場合〜 #vuefes
bengo4com
3
1.8k
re:Invent 2025の見どころと便利アイテムをご紹介 / Highlights and Useful Items for re:Invent 2025
yuj1osm
0
360
CNCFの視点で捉えるPlatform Engineering - 最新動向と展望 / Platform Engineering from the CNCF Perspective
hhiroshell
0
140
組織全員で向き合うAI Readyなデータ利活用
gappy50
5
1.7k
Okta Identity Governanceで実現する最小権限の原則
demaecan
0
200
ストレージエンジニアの仕事と、近年の計算機について / 第58回 情報科学若手の会
pfn
PRO
4
900
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.6k
Stop Working from a Prison Cell
hatefulcrawdad
272
21k
Making the Leap to Tech Lead
cromwellryan
135
9.6k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
What's in a price? How to price your products and services
michaelherold
246
12k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
116
20k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Gamification - CAS2011
davidbonilla
81
5.5k
RailsConf 2023
tenderlove
30
1.3k
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
Speed Design
sergeychernyshev
32
1.2k
A designer walks into a library…
pauljervisheath
209
24k
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!!!