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
940
最近のLinuxコンテナの進化 / TechFeed Summit #3
TechFeed Summit #3 中の LT 資料です。
tenforward
August 20, 2020
Tweet
Share
More Decks by tenforward
See All by tenforward
Linuxコンテナの仕組み / eBPF & Container Study in Fukuoka
tenforward
24
4.4k
Linux コンテナのリブートとセキュリティ / SosaiLT 38th
tenforward
6
2k
cgroup の歩き方 / TechFeed Experts Night #19
tenforward
1
450
Linux コンテナ最近の新機能 / SosaiLT 36th
tenforward
1
130
Linux カーネル 最近のコンテナ関連新機能 / TechFeed Experts Night#7
tenforward
6
3.1k
コンテナの歴史を追いながらいまいちどコンテナについておさらいしてみる / Infra Study 2nd #2
tenforward
10
4k
seccomp notify による安全なコンテナ実行環境 / 14th CTStudy
tenforward
0
750
cgroup v1 の内部構造 / 13th CTStudy
tenforward
1
740
cgroup v1概要 / 12th CTStudy
tenforward
2
980
Other Decks in Technology
See All in Technology
ExaDB-D dbaascli で出来ること
oracle4engineer
PRO
0
2.1k
IPUT App Dev. Co. -Overview 2024/4
iputapp
0
130
Building Dashboards as a Hobby
egmc
0
370
Gitlab本から学んだこと - そーだいなるプレイバック / gitlab-book
soudai
7
1.3k
LLM開発・活用の舞台裏@2024.04.25
yushin_n
3
1.2k
Azureの基本的な権限管理の勉強会
yhana
1
2.1k
ワールドカフェI /チューターを改良する / World Café I and Improving the Tutors
ks91
PRO
0
150
Cloud Service Mesh に触れ合う
phaya72
1
220
web-application-security
matsuihidetoshi
1
190
The AI Revolution Will Not Be Monopolized: Behind the scenes
inesmontani
PRO
1
160
Amplify 🩷 Bedrock 〜生成AI入門〜
minorun365
PRO
8
720
[新卒向け研修資料] テスト文字列に「うんこ」と入れるな(2024年版)
infiniteloop_inc
5
18k
Featured
See All Featured
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
117
18k
Building an army of robots
kneath
300
41k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
126
32k
Building Your Own Lightsaber
phodgson
100
5.7k
The Invisible Side of Design
smashingmag
294
49k
What's in a price? How to price your products and services
michaelherold
238
11k
Making the Leap to Tech Lead
cromwellryan
125
8.5k
Fashionably flexible responsive web design (full day workshop)
malarkey
398
65k
The Straight Up "How To Draw Better" Workshop
denniskardys
228
130k
The Invisible Customer
myddelton
114
12k
Documentation Writing (for coders)
carmenintech
60
4k
No one is an island. Learnings from fostering a developers community.
thoeni
16
2.1k
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