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
Docker 超入門/introduction-docker
Search
ega4432
November 04, 2021
Technology
1
150
Docker 超入門/introduction-docker
2021/11/04 の社内 LT での発表資料
ega4432
November 04, 2021
Tweet
Share
More Decks by ega4432
See All by ega4432
サーバーレスな技術を使ってオフィス業務を改善した話/Improvement office operations using Serverless technology
ega4432
0
630
監視についてみんなに知って欲しいこと/introductory-monitoring
ega4432
0
61
新機能紹介!CloudFront Functions を触ってみた/Tried out the new CloudFront Functions
ega4432
0
360
効率よく成長するために自分の強みを知る方法/How to know your strengths to grow efficiently
ega4432
0
96
サーバーレス初心者による 初めての AWS Lambda/The first time AWS Lambda by serverless beginners
ega4432
0
630
Other Decks in Technology
See All in Technology
製造業の課題解決に向けた機械学習の活用と、製造業特化LLM開発への挑戦
knt44kw
0
160
大規模イベントに向けた ABEMA アーキテクチャの遍歴 ~ Platform Strategy 詳細解説 ~
nagapad
0
190
Claude CodeでKiroの仕様駆動開発を実現させるには...
gotalab555
3
890
【2025 Japan AWS Jr. Champions Ignition】点から線、線から面へ〜僕たちが起こすコラボレーション・ムーブメント〜
amixedcolor
1
120
【CEDEC2025】ブランド力アップのためのコンテンツマーケティング~ゲーム会社における情報資産の活かし方~
cygames
PRO
0
240
dipにおけるSRE変革の軌跡
dip_tech
PRO
1
230
Nx × AI によるモノレポ活用 〜コードジェネレーター編〜
puku0x
0
340
ビジネス文書に特化した基盤モデル開発 / SaaSxML_Session_2
sansan_randd
0
260
Lambda management with ecspresso and Terraform
ijin
2
140
LLMでAI-OCR、実際どうなの? / llm_ai_ocr_layerx_bet_ai_day_lt
sbrf248
0
430
帳票構造化タスクにおけるLLMファインチューニングの性能評価
yosukeyoshida
1
230
マルチモーダル基盤モデルに基づく動画と音の解析技術
lycorptech_jp
PRO
4
510
Featured
See All Featured
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3k
Rebuilding a faster, lazier Slack
samanthasiow
83
9.1k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
YesSQL, Process and Tooling at Scale
rocio
173
14k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
6k
Statistics for Hackers
jakevdp
799
220k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
8
420
Making the Leap to Tech Lead
cromwellryan
134
9.5k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
44
2.4k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
Site-Speed That Sticks
csswizardry
10
750
Transcript
Docker ೖ @ega4432
ຊͷΞδΣϯμ • ࣗݾհ • DockerʁԿͦΕඒຯ͍͠ͷʁ • ैདྷͷԾԽͱͷҧ͍ • Docker ͷجຊػೳ
- Build/Ship/Run - ʹ͍ͭͯ • ·ͱΊ
ࣗݾհ • ͕͑ / @ega4432 • Cloud Engineer • Ԭࡏॅ
• झຯɿےτϨɺςχεɺಡॻɺকعͳͲ • Docker ྺ 2 ~ 3 ɺk8s ษڧதʙ
DockerʁԿͦΕඒຯ͍͠ͷʁ
None
ͳͥ͞Ε͍ͯΔ͔
Q. ͳͥ Docker ͕ඞཁͳͷ͔
A. Ϣʔβʹૉૣ͘ίʔυΛ ಧ͚ΒΕΔΑ͏ʹͳΔ
ैདྷͷ։ൃʹ͓͚Δ՝
ैདྷͷ։ൃʹ͓͚Δ՝ ຊʹಉ͡ڥʁʂ
Docker ͕Ͳ͏ղܾ͢Δ͔
Docker ͕Ͳ͏ղܾ͢Δ͔ ίʔυͱϥΠϒϥϦΛ ύοέʔδϯάͯ͠ ʮίϯςφԽʯ͢Δ
Docker ͕Ͳ͏ղܾ͢Δ͔
͜͜·Ͱͷ·ͱΊ • Docker ͱɺίʔυͱͦͷґଘύοέʔδΛ ʮίϯςφԽʯ͢Δׂ • ։ൃʙຊ൪·Ͱͷڥͷҧ͍Λղফ͠ɺϢʔ βʹରͯ͠ૉૣ͘ՁΛఏڙ͢Δ͜ͱ͕Ͱ͖ Δ
ैདྷͷԾԽͱͷҧ͍
OS ԾԽ ϗετ OS ্ʹෳͷԾ OS Λஔ ग़యɿhttps://qiita.com/etaroid/items/b1024c7d200a75b992fc
ίϯςφԾԽ ϗετ OS ্ Docker Engine Λىಈ͠ ͦͷ্ͷෳͷίϯςφΛىಈ ग़యɿhttps://qiita.com/etaroid/items/b1024c7d200a75b992fc
ίϯςφԾԽͷϝϦοτ • Ϧιʔε͕ܰྔ • ετϨʔδ༻ྔ͕ݮΔ • ىಈ͕࣌ؒૣ͍ • ෳڥͰͷӡ༻ָ͕
Docker ͷجຊػೳ - Build/Ship/Run -
جຊػೳ - Build/Ship/Run - • Build: Πϝʔδͷ࡞ɺߏங • Ship: Πϝʔδͷڞ༗
• Run: ίϯςφͷ࣮ߦ
Build: Πϝʔδͷ࡞ɾߏங • ίϯςφΠϝʔδΛߏங͢ΔϑΣʔζ • ίϯςφͷߏΛςΩετܗࣜͰఆٛͰ͖Δ `Docker fi le` ͱ͍͏ͷ͕͋Δ
Docker fi le͔ΒΠϝʔδͷ࡞ FROM nginx:lates t WORKDIR /usr/share/nginx/htm l COPY
index.html index.htm l RUN apt update && \ apt-get install -y curl
Ship: Πϝʔδͷڞ༗ • ࡞ͬͨίϯςφΠϝʔδΛϨδετϦʹஔ͘ ͜ͱͰอɺόʔδϣϯཧɺڞ༗͕Մೳʹ • ར༻ՄೳͳΠϝʔδ͕ଟ͘ެ։͞Ε͓ͯΓࣗ Ͱ࡞Մೳ
Run: ίϯςφͷ࣮ߦ • ࣮ࡍʹίϯςφΛಈ࡞ͤ͞ΔϑΣʔζ • Docker ͕͑ΔڥͰ͋ΕͲ͜Ͱίϯς φΛىಈՄೳ
·ͱΊ • Docker ɺڥຖͷࠩΛͳ͘͠ɺϢʔβʹ ΑΓૣ͘ίʔυΛಧ͚ΔΑ͏ʹ͢Δׂ • ίϯςφܕԾԽΛ࣮ݱ͢ΔϓϥοτϑΥʔϜ • جຊػೳͱͯ͠ɺεϩʔΨϯͰ͋Δ Build/
Ship/Run ʹ͍ͭͯ
͝ਗ਼ௌ͋Γ͕ͱ͏ ͍͟͝·ͨ͠🙇
ࢀߟจݙ • Docker ࣮ફΨΠυ - ΠϯϓϨεϒοΫε https:// book.impress.co.jp/books/1115101002 • Dockerೖ
-جૅฤ ͍·͔Β࢝ΊΔDockerཧʲ2nd Editionʳ https://www.slideshare.net/zembutsu/ introduction-to-docker-management-and-operations-2nd • Docker/Kubernetes ࣮ફίϯςφ։ൃೖɿॻ੶Ҋʛٕ ज़ධࣾ https://gihyo.jp/book/2018/978-4-297-10033-9