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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Kyle Bai
March 21, 2019
Technology
150
2
Share
SRE 讀書會 #3 - 重新認識 Docker 容器
Kyle Bai
March 21, 2019
More Decks by Kyle Bai
See All by Kyle Bai
讓 Jenkins 老爺爺掌舵帶領開發者航向美好新世界
kairen
1
250
AWS Startup 2020 - AMIS
kairen
0
88
學習 Kubernetes 不是為了成為 YAML Engineer
kairen
0
350
How to make your container:Kubernetes is a bit more secure
kairen
0
210
Vishwakarma: Terraform modules for deploying EKS and Self-hosting Kubernetes(AWS))
kairen
0
100
Vishwakarma: Terraform modules for deploying EKS and Self-hosting Kubernetes
kairen
0
130
Chatbot as a Service on Container(Kubernetes)
kairen
0
990
IT IRONMAN 2020
kairen
0
100
Advanced Kubernetes For UMC
kairen
0
190
Other Decks in Technology
See All in Technology
Scovilleモバイルエンジニア募集中.pdf
julienrudin
0
140
20年前の「OSS革命」に学ぶ AI時代の生存戦略
samakada
0
520
AWS Transform CustomでIaCコードを自由自在に変換しよう
duelist2020jp
0
220
[Oracle TechNight#99] 生成AI時代のAI/ML入門 ~ AIとオラクルデータベースの関係 (後半)
oracle4engineer
PRO
1
160
AIが書いたコードを信じられない問題 〜レビュー負荷を下げるために変えたこと〜 / The AI Code Trust Gap: Reducing the Review Burden
bitkey
PRO
8
1.4k
AWS Agent Registry の基礎・概要を理解する/aws-agent-registry-intro
ren8k
3
430
The 7 pitfalls of AI
ufried
0
160
AI活用時代の事業判断高度化を導くエンジニアリング基盤 / 20260424 Atsushi Funahashi
shift_evolve
PRO
2
120
AI時代の品質はテストプロセスの作り直し #scrumniigata
kyonmm
PRO
3
660
M5Stack CoreS3とZephyr(RTOS)で Edge AIっぽいことしてみた
iotengineer22
0
400
世界の中心でApp Runnerを叫ぶ FINAL
tsukuboshi
0
160
ブラウザの投機的読み込みと投機ルールAPIを理解し、Webサービスのパフォーマンスを最適化する
shuta13
1
230
Featured
See All Featured
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Discover your Explorer Soul
emna__ayadi
2
1.1k
Bash Introduction
62gerente
615
210k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
110
Scaling GitHub
holman
464
140k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
330
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
120
HDC tutorial
michielstock
2
640
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.2k
Context Engineering - Making Every Token Count
addyosmani
9
850
Practical Orchestrator
shlominoach
191
11k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
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!!!