Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
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
650
監視についてみんなに知って欲しいこと/introductory-monitoring
ega4432
0
71
新機能紹介!CloudFront Functions を触ってみた/Tried out the new CloudFront Functions
ega4432
0
370
効率よく成長するために自分の強みを知る方法/How to know your strengths to grow efficiently
ega4432
0
100
サーバーレス初心者による 初めての AWS Lambda/The first time AWS Lambda by serverless beginners
ega4432
0
640
Other Decks in Technology
See All in Technology
Kill the Vibe?Architecture in the age of AI
stoth
1
120
命名から始めるSpec Driven
kuruwic
1
610
DDD x Microservice Architecture : Findy Architecture Conf 2025
syobochim
13
6.4k
経営から紐解くデータマネジメント
pacocat
7
1.6k
.NET 10のEntity Framework Coreの新機能
htkym
0
130
AI エージェント活用のベストプラクティスと今後の課題
asei
2
390
組織の“見えない壁”を越えよ!エンタープライズシフトに必須な3つのPMの「在り方」変革 #pmconf2025
masakazu178
1
1k
"なるべくスケジューリングしない" を実現する "PreferNoSchedule" taint
superbrothers
0
120
生成AIシステムとAIエージェントに関する性能や安全性の評価
shibuiwilliam
2
260
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
5
45k
研究開発部メンバーの働き⽅ / Sansan R&D Profile
sansan33
PRO
3
21k
信頼性が求められる業務のAIAgentのアーキテクチャ設計の勘所と課題
miyatakoji
0
190
Featured
See All Featured
A better future with KSS
kneath
239
18k
Being A Developer After 40
akosma
91
590k
The Cult of Friendly URLs
andyhume
79
6.7k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.3k
Building Adaptive Systems
keathley
44
2.8k
The Pragmatic Product Professional
lauravandoore
36
7k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
132
19k
Fireside Chat
paigeccino
41
3.7k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
140
34k
Visualization
eitanlees
150
16k
Embracing the Ebb and Flow
colly
88
4.9k
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