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
110
良いソフトウェアとコードレビュー / Good software and code review
atty303
37
16k
Scala + Caliban で作るGraphQL バックエンド / Making GraphQL Backend with Scala + Caliban
atty303
0
420
Scala.jsとAndroidでドメイン層を共有しよう / Scala.js and Android
atty303
0
640
もう一つのビルドツール mill で作る Docker イメージ / Build docker image with mill the yet another build tool
atty303
2
2.1k
Case of Ad Delivery System is Implemented by Scala and DDD
atty303
4
3.1k
ログのメトリックを取ってみる話
atty303
0
880
ADC2016: Axion meets HashiCorp
atty303
0
730
scala-native 試してみた
atty303
0
270
Other Decks in Programming
See All in Programming
What is TDD?
urakawa_jinsei
1
210
◯◯エンジニアになった理由
gessy0129
PRO
0
620
M5Stack に色々な M5ユニットをつないで扱う為の新たなアプローチ
gob
0
200
Cloud Adoption Frameworkにみる組織とクラウド導入戦略(縮小版)
tomokusaba
1
170
Subclassing, Composition, Python, and You
hynek
3
110
Progressive Web Apps for Rails developers
siaw23
2
530
Re:PandasAI:生成AIがデータ分析業務にもたらすパラダイムシフト【増補改訂版】
negi111111
1
860
Remix × Cloudflare Pages × Sentry 奮闘記 / remix-pages-sentry
nkzn
1
380
VS Code extension: ドラッグ&ドロップでファイルを並び替える
ttrace
0
160
CSC509 Lecture 02
javiergs
PRO
0
160
いまあるチームにフィットさせる Serverless そして Platform Engineeringへの挑戦 / Serverless Fits the Team You Have and Platform Engineering
seike460
PRO
2
1.4k
推しの夫に恋のGPS「ときメーター」#M5Stack #IoT #M5JPTour2024
riyu
0
220
Featured
See All Featured
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
Teambox: Starting and Learning
jrom
131
8.7k
The Power of CSS Pseudo Elements
geoffreycrofte
71
5.3k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
125
18k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
355
29k
VelocityConf: Rendering Performance Case Studies
addyosmani
324
23k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
Design by the Numbers
sachag
278
19k
Mobile First: as difficult as doing things right
swwweet
222
8.8k
Fontdeck: Realign not Redesign
paulrobertlloyd
81
5.2k
Ruby is Unlike a Banana
tanoku
96
11k
A Modern Web Designer's Workflow
chriscoyier
692
190k
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 ͷόʔδϣϯΞοϓΤίγεςϜͷॆ࣮ʹΑΓ όϥϯε͕औΕΔΑ͏ʹͳ͍ͬͯΔͱࢥ͍·͢ɻ ·ͩίετͷ΄͏͕ॏ͍͔͠Ε·ͤΜ͕ɺ ઌߦࢿͱࢥͬͯಋೖͯ͠ΈͯΑ͍ͷͰͳ͍Ͱ͠ΐ͏͔ɻ