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
210
良いソフトウェアとコードレビュー / Good software and code review
atty303
36
17k
Scala + Caliban で作るGraphQL バックエンド / Making GraphQL Backend with Scala + Caliban
atty303
0
440
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.3k
ログのメトリックを取ってみる話
atty303
0
890
ADC2016: Axion meets HashiCorp
atty303
0
740
scala-native 試してみた
atty303
0
270
Other Decks in Programming
See All in Programming
Stackless и stackful? Корутины и асинхронность в Go
lamodatech
0
760
Effective Signals in Angular 19+: Rules and Helpers @ngbe2024
manfredsteyer
PRO
0
140
Webエンジニア主体のモバイルチームの 生産性を高く保つためにやったこと
igreenwood
0
330
Refactor your code - refactor yourself
xosofox
1
260
StarlingMonkeyを触ってみた話 - 2024冬
syumai
3
270
create_tableをしただけなのに〜囚われのuuid編〜
daisukeshinoku
0
250
テスト自動化失敗から再挑戦しチームにオーナーシップを委譲した話/STAC2024 macho
ma_cho29
1
1.3k
たのしいparse.y
ydah
3
120
今年のアップデートで振り返るCDKセキュリティのシフトレフト/2024-cdk-security-shift-left
tomoki10
0
200
Zoneless Testing
rainerhahnekamp
0
120
Go の GC の不得意な部分を克服したい
taiyow
3
790
数十万行のプロジェクトを Scala 2から3に完全移行した
xuwei_k
0
270
Featured
See All Featured
Git: the NoSQL Database
bkeepers
PRO
427
64k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
365
25k
A designer walks into a library…
pauljervisheath
204
24k
Docker and Python
trallard
42
3.1k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
28
4.4k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
44
9.3k
Testing 201, or: Great Expectations
jmmastey
40
7.1k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
GraphQLの誤解/rethinking-graphql
sonatard
67
10k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
It's Worth the Effort
3n
183
28k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
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 ͷόʔδϣϯΞοϓΤίγεςϜͷॆ࣮ʹΑΓ όϥϯε͕औΕΔΑ͏ʹͳ͍ͬͯΔͱࢥ͍·͢ɻ ·ͩίετͷ΄͏͕ॏ͍͔͠Ε·ͤΜ͕ɺ ઌߦࢿͱࢥͬͯಋೖͯ͠ΈͯΑ͍ͷͰͳ͍Ͱ͠ΐ͏͔ɻ