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
Why Docker?
Search
AGAWA Koji
April 27, 2016
Programming
3
180
Why Docker?
社内勉強会用
AGAWA Koji
April 27, 2016
Tweet
Share
More Decks by AGAWA Koji
See All by AGAWA Koji
EmscriptenでC/C++アプリをWASM化してブラウザで動かしてみた
atty303
0
170
良いソフトウェアとコードレビュー / Good software and code review
atty303
37
17k
Scala + Caliban で作るGraphQL バックエンド / Making GraphQL Backend with Scala + Caliban
atty303
0
430
Scala.jsとAndroidでドメイン層を共有しよう / Scala.js and Android
atty303
0
660
もう一つのビルドツール mill で作る Docker イメージ / Build docker image with mill the yet another build tool
atty303
2
2.2k
Case of Ad Delivery System is Implemented by Scala and DDD
atty303
4
3.2k
ログのメトリックを取ってみる話
atty303
0
890
ADC2016: Axion meets HashiCorp
atty303
0
740
scala-native 試してみた
atty303
0
270
Other Decks in Programming
See All in Programming
C++でシェーダを書く
fadis
6
4.1k
NSOutlineView何もわからん:( 前編 / I Don't Understand About NSOutlineView :( Pt. 1
usagimaru
0
330
Ethereum_.pdf
nekomatu
0
460
受け取る人から提供する人になるということ
little_rubyist
0
230
광고 소재 심사 과정에 AI를 도입하여 광고 서비스 생산성 향상시키기
kakao
PRO
0
170
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
1
100
macOS でできる リアルタイム動画像処理
biacco42
9
2.4k
距離関数を極める! / SESSIONS 2024
gam0022
0
280
subpath importsで始めるモック生活
10tera
0
300
Jakarta EE meets AI
ivargrimstad
0
510
Jakarta Concurrencyによる並行処理プログラミングの始め方 (JJUG CCC 2024 Fall)
tnagao7
1
290
型付き API リクエストを実現するいくつかの手法とその選択 / Typed API Request
euxn23
8
2.2k
Featured
See All Featured
Building a Modern Day E-commerce SEO Strategy
aleyda
38
6.9k
Visualization
eitanlees
145
15k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.4k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.5k
Typedesign – Prime Four
hannesfritz
40
2.4k
Code Review Best Practice
trishagee
64
17k
Building Better People: How to give real-time feedback that sticks.
wjessup
364
19k
Reflections from 52 weeks, 52 projects
jeffersonlam
346
20k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5k
Facilitating Awesome Meetings
lara
50
6.1k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
31
2.7k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.1k
Transcript
Why Docker ? @atty303
ͳͥ Docker(ίϯςφ)ͳͷ͔?
ܭࢉϦιʔεར༻ͷ ࠷దԽ
…ͷಓΛΓ։͘ͷ
Docker ొͷഎܠ 4 Docker dotCloud ͱ͍͏ PaaS ϓϩόΠμʔ͕ࣗࣾϓ ϥοτϑΥʔϜΛΦʔϓϯιʔεԽͨ͠ͷ
4 PaaS ϓϩόΠμʔʹͱͬͯϦιʔεར༻ͷ࠷దԽར ӹʹ݁͢Δ 4 Google Docker Ͱͳ͍͕શͯͷαʔϏεΛίϯςφ (Borg)Ͱಈ͔͍ͯ͠Δ 4 େͳϦιʔεͷ࠷దԽڝ૪ྗͷݯઘ
ԾϚγϯͱίϯςφ 4 ԾϚγϯͰཻ͕େ͖͍ 4 ίϯςφϓϩηεཻ 4 ੜͷ Linux ϓϩηεͰڥͷִ͕ෆे 4
chroot cgroup ͳͲ… 4 ϓϩηεͷΑ͏ʹܰྔͰԾϚγϯͷΑ͏ʹಠཱ͍ͯ͠Δ ͷ͕ίϯςφ
࠷దԽؔ࿈ 4 ίϯςφεέδϡʔϦϯά 4 Docker Swarm 4 Google Kubernetes 4
Apache Mesos 4 HashiCorp Nomad 4 Datacenter as a Computer 4 ϗετ୯ҐͰߟ͑ΔͷͰͳ͘ɺෳͷϗετΛ1ͭͷڊେͳίϯϐ ϡʔλͱΈͳ͢
ΞϓϦέʔγϣϯͷཻ
ैདྷ
Docker
ΞϓϦέʔγϣϯࢹ 4 ΞϓϦ͕ґଘ͢ΔશͯͷϥϯλΠϜΛಉࠝͰ͖Δ 4 ϗετϚγϯͷঢ়ଶΛߟ͑ͳͯ͘ྑ͍ͷͰ͖ͳΑ͏ʹίϯςφ ʹΠϯετʔϧͰ͖Δ 4 ίϯςφͷϏϧυৗʹಉ͡ঢ়ଶ͔Βελʔτ͠લఏ݅ΛݻఆͰ͖ ΔͷͰ Chef
ͷΑ͏ͳঢ়ଶཧ͕ෆཁʹͳΔ 4 γΣϧεΫϦϓτͰγϯϓϧʹΠϯετʔϧ 4 Ϗϧυͨ͠ίϯςφͲ͜Ͱಈ͔͢͜ͱ͕Ͱ͖Δ 4 ϩʔΧϧɺCIڥɺຊ൪ڥ…
ϗετࢹ 4 ϗετϚγϯ Docker daemon ͚ͩಈ͔͓͚ͯ͠શͯ ͷΞϓϦ͕ಈ͘ 4 ͨͩ͠ίϯςφεέδϡʔϦϯάͱ͍͏৽͍͠՝͕ൃ ੜ͢Δ
4 ϗετΛϩʔϧผʹ Chef ͳͲͰཧ͢Δඞཁ͕ແ͘ͳΔ 4 Ή͠Ζϗετ OS ͕ݶΓͳ͘ബͯ͘ྑ͍ → CoreOS
·ͱΊ
Docker Ͱ͍͠ͱ͜Ζ 4 ίϯςφεέδϡʔϦϯά 4 σʔλ(ϘϦϡʔϜ)ӬଓԽ 4 ΦʔέετϨʔγϣϯ 4 ίϯςφ୯ମΛಈ͔͢ͷ؆୯ɺίϯςφಉ࢜Λڠௐͤ͞
Δͷ͕͍͠
Docker Λ͏͖Ͱͳ͍ͱ͖ 4 ·ΘΓʹࣝऀ͕ډͳ͍ɺ͔ͭࣗྗͰؤுΔؾྗ͕ͳ͍ͱ͖ 4 PaaS (EBS, AppEngine, Heroku) ͰࣄΓΔͱ͖
ݸਓతͳײ ࠓ·Ͱ Docker Λར༻͢ΔϝϦοτΑΓ ֶशɾӡ༻ίετͷ΄͏͕ॏ͔ͬͨҹͰ͕͢ɺ Docker ͷόʔδϣϯΞοϓΤίγεςϜͷॆ࣮ʹΑΓ όϥϯε͕औΕΔΑ͏ʹͳ͍ͬͯΔͱࢥ͍·͢ɻ ·ͩίετͷ΄͏͕ॏ͍͔͠Ε·ͤΜ͕ɺ ઌߦࢿͱࢥͬͯಋೖͯ͠ΈͯΑ͍ͷͰͳ͍Ͱ͠ΐ͏͔ɻ