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
最近のLinuxコンテナの進化 / TechFeed Summit #3
Search
tenforward
August 20, 2020
Technology
3
1.1k
最近のLinuxコンテナの進化 / TechFeed Summit #3
TechFeed Summit #3 中の LT 資料です。
tenforward
August 20, 2020
Tweet
Share
More Decks by tenforward
See All by tenforward
Linux カーネルが支えるコンテナの仕組み / LF Japan Community Days 2025 Osaka
tenforward
3
1k
ネットワークだけ隔離されたコンテナ作成デモ / SosaiLT44
tenforward
3
110
ネットワークだけ隔離されたコンテナ作成デモ / Kichijoji.pm36
tenforward
3
980
Linux コンテナの歴史を追うとコンテナの仕組みがわかる / Dai Kichijoji pm
tenforward
36
16k
cgroup v2 で何が変わったのか / TechFeed Experts Night #28
tenforward
2
890
Linuxコンテナの仕組み / eBPF & Container Study in Fukuoka
tenforward
27
5.3k
Linux コンテナのリブートとセキュリティ / SosaiLT 38th
tenforward
6
2.4k
cgroup の歩き方 / TechFeed Experts Night #19
tenforward
1
770
Linux コンテナ最近の新機能 / SosaiLT 36th
tenforward
1
250
Other Decks in Technology
See All in Technology
隙間ツール開発のすすめ / PHP Conference Fukuoka 2025
meihei3
0
340
探求の技術
azukiazusa1
5
1.4k
Spring Boot利用を前提としたJavaライブラリ開発方法の提案
kokihoshihara
PRO
2
130
Redux → Recoil → Zustand → useSyncExternalStore: 状態管理の10年とReact本来の姿
zozotech
PRO
6
3.3k
"おまじない"はもう卒業! デバッガで探るSpring Bootの裏側と「学び方」の学び方
takeuchi_132917
0
110
Dart and Flutter MCP serverで実現する AI駆動E2Eテスト整備と自動操作
yukisakai1225
0
350
Amazon ECS デプロイツール ecspresso の開発を支える「正しい抽象化」の探求 / YAPC::Fukuoka 2025
fujiwara3
10
1.7k
手を動かしながら学ぶデータモデリング - 論理設計から物理設計まで / Data modeling
soudai
PRO
18
4.1k
Claude Code 10連ガチャ
uhyo
3
660
ユーザーストーリー x AI / User Stories x AI
oomatomo
0
170
クレジットカードの不正を防止する技術
yutadayo
14
6.7k
Lazy Constant - finalフィールドの遅延初期化
skrb
0
130
Featured
See All Featured
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
GitHub's CSS Performance
jonrohan
1032
470k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.3k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
285
14k
It's Worth the Effort
3n
187
28k
How to train your dragon (web standard)
notwaldorf
97
6.4k
How to Think Like a Performance Engineer
csswizardry
28
2.3k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
31
2.7k
The Cult of Friendly URLs
andyhume
79
6.7k
The Invisible Side of Design
smashingmag
302
51k
Designing for humans not robots
tammielis
254
26k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.8k
Transcript
࠷ۙ〣 Linux ぢアふべ〣ਐԽ TechFeed Summit #3 Ճ౻ହจ 2020-08-20 1/9
ࣗݾհ • TenForward(@ten_forward) / Ճ౻ହจ • linuxcontainers.org 〹 LXC/LXD ؔ࿈〣༁
• LXC 〜ֶ〫ぢアふべೖ ʵܰྔԾԽڥぇ࣮ݱ『ٕज़ • Plamo Linux ゐアふべが 2/9
Linux 〣ʮぢアふべʯ〝⿶⿸ݬӨ Linux 〠々ʮぢアふべʯ • Linux kernel 〠ʮぢアふべʯ〝⿶⿸ػೳ〤⿴〿〳【えʢաڈ〠ʮぢアふべʯざゅでこぜぷ ఏҊ《ぁ〔〈〝〤⿴〿〳『ʼࠓ〣ॴ٫Լ《ぁ〛〳『ʣ •
৭ʑ〟ػೳ〣〴߹い【〜ʮぢアふべʯ〜 〛⿶〳『 • ʮぢアふべʯ〝〤Կ〾〣ܗ〜りとぷ〹ଞ〣ʮぢアふべʯ〾のとぜ〹のとぜび゙がぇִ 「〛⿶〳『ʢݟ〔〜〷ɺ゙ぬがとফඅ〣໘〜〷ʣ Linux 〜ʮぢアふべʯぇߏங『ػೳ〣ද • NamespaceʢKubernetes 〣〒ぁ〝〤ؔ⿴〿〳【えʣ • cgroup 〒〣ଞ৭ʑ〟ػೳ〣〴߹い【〜ʮぢアふべʯ〝⿶⿸ܗ〣〟⿶〷〣〜 ⿴〘〛⿶〳『ɻ〒〣 ଟ〣ػೳ〣࠷ۙ〣ߋ৽ぇհ「〳『ɻ 3/9
2013 ɾDocker ݩ 〳』〤গ「લ〣ྺ࢙〾ʜ • 2013 〤 Docker ݩ〜⿴〝ಉ࣌〠 Linux
じがぼ゚〠ぢアふべؔ࿈〣ओཁ〟ػೳ ଗ〘〔〜「〔ʢ〷⿸ 7 લ!!ʣ • 〒〣ޙ〷 Linux じがぼ゚〠〤〴〟《え〠〝〘〛ॏཁ〕〘〔〿ɺ〒⿸〜〷〟〘〔〿『ػ ೳՃ《ぁଓ々〛⿶〳『 4/9
User Namespace 〈〣ػೳ〣〜ɺݱࡏいぁ〛⿶ぢアふべ〣ओཁػೳ〰〱ଗ⿶〳「〔: • root Ҏ֎〣ゕがづが〜ぢアふべぇىಈ〜 ػೳʢrootlessʣ • ࣮։࢝ 2007 〜
2013 !! • 〈ぁ〟⿶〝ʮぢアふべ〣 root=りとぷ〣 rootʯ〜『〽ɻةݥ〟߳〿 5/9
Overlayfs • Docker 〣やきぐ゚てとふわ〣ずゑ〤゛ぐんがߏ • ゙゙がとॳ〣 Docker 〤 aufs 〝⿶⿸じがぼ゚〠ろがで《ぁ〛⿶〟⿶゛ぐんがへ〟やき
ぐ゚てとふわલఏ〜「〔 • 3.18 じがぼ゚ʢ2014 ʣ〠 Overlayfs ろがで《ぁɺじがぼ゚ඪ४〣゛ぐんがへ〟 やきぐ゚てとふわ⿺〽⿸〠〟〿〳「〔 6/9
cgroup v2 • 4.5 じがぼ゚ʢ2014 ʣ〠ਖ਼ࣜ〠ろがでʢstable 〟ػೳ〠ʣ • ࠓ〜〷やびが〠いぁ〛⿶ cgroup
v1 ⿴〣〠〟え〜〈え〟ػೳ։ൃ「〔〣? • cgroup v1 ろがで《ぁ〔ࠒ〤ʮぢアふべべぺぬ゛ʁʯ〟࣌ظ〜「〔 • ࠓޙ〤ঃʑ〠〈〖〾〠Ҡߦ『〤』ɻv1 ࣋〘〛⿶〔৭ʑ〟ղܾ《ぁ〛⿶〳『 7/9
࠷ۙ〣ߋ৽ ʮ࠷ۙʯ〝ݴ〘〛〷 CloudNative ք۾〣࣌ؒ〣ྲྀぁ〾『〝⿶〷?ʢେମ 2017 Ҏ߱ 〣ʣ • ぢアふべ〣ོぇ 〘々〠ぢアふべؔ࿈〣ػೳ〕々〜〟。ɺぢアふべҎ֎〜〷いぁػ ೳ〠վྑࢪ《ぁ〛⿶〳『
• ぢアふべؔ࿈ • cgroup Namespace • ඇಛݖぢアふべ〜やきぐ゚てとふわろげアぷʢぶみぐとやきぐ゚〷࡞ぁ〽⿸〠〟〿〳「〔ʣ • ⿶ 〟〿త〣 cgroup 〠ゆ゜なとぇॴଐ《【〾ぁ〽⿸〠〟〘〔 • Time Namespace • ぢアふべҎ֎〜〷Մೳੑ • PSIʢゐゑ゙ɺCPUɺI/O 〟〞〣゙ぬがと〣ඡഭ߹⿶ぇ؍ଌʣˡ〒〷〒〷 cgroup 〤ぢアふべ Ҏ֎〜〷〙⿺ • pidfdʢPID 〣〘〛্ݶ⿴〘〛্ݶ〠ୡ「〔ޙ〤࠶ར༻《ぁ〳『ʣ 8/9
〳〝〶 ݁ہԿݴ⿶〔⿶〣? ˠ Linux ぢアふべ〣৽ػೳぇ〘々〣〘〛ʜ • ৽「⿶ػೳぇࢼ『〣〘〛ָ「⿶〜『〽〢ʂʢˡҰ൪ॏཁʣKubernetes 〣৽ػೳぇࢼ『〣 〷ָ「⿶々〞じがぼ゚〣৽ػೳࢼ『〣〷〷「あ⿶〜『〽ʂ •
Docker 〹 Kubernetes 〜ઃఆ〜 〜〷みひぜごアへ〜〞〣〽⿸〠ઃఆ《ぁ〛⿶ ʁ ઃఆ〣《ぁํぇཧղ『〈〝〜ޮՌత〠ઃఆぇར༻〜 〤』ʢ〈⿸⿶⿸੍ݶ⿴ 〾〈え〟ઃఆ「〛〷ҙຯ〟⿶〽ʁ 〝ʣ • Docker 〹 Kubernetes 〜৽ػೳ࣮《ぁ〔⿴〙 〠〤ਅ〘ઌ〠ʮ〒〣ҙຯぇཧղ「 〟〾ʯ৽ػೳぇࢼ【ʢՄೳੑ⿴〿〳『ʣʂ એ • じがぼ゚〣৽ػೳ〤ਅ〘ઌ〠 LXC/LXD 〠࣮《ぁʢ〈〝ଟ⿶ʣ〣〜ɺLXC/LXD ぇ 〘々〣〤ָ「⿶〜『〽 • ࠷৽ػೳぇ〘々جૅࣝぇ〙々〔〶〠〷 gihyo.jp 〜࿈ࡌத〣ʮLXC 〜ֶ〫ぢア ふべೖʯぇ〽あ「。〜『 9/9