Slide 1

Slide 1 text

Introduction to container-based virtualization ޒेཛྷɾ຤Ӭݚڀࣨன৯ձ :VTVLF.JZB[BLJ !૯߹ݚڀ߸ؗ ίϯςφܕԾ૝Խೖ໳

Slide 2

Slide 2 text

໨࣍ w ैདྷͷԾ૝ϚγϯʹΑΔԾ૝Խ w ίϯςφܕԾ૝Խͱ͸ w ίϯςφܕԾ૝ԽΛ࣮ݱ͢Δٕज़ w %PDLFSͱ͸ w σϞ

Slide 3

Slide 3 text

෺ཧϚγϯ ϋʔυ΢ΣΞ ΦϖϨʔςΟϯάγεςϜ ΞϓϦέʔγϣϯ ΞϓϦέʔγϣϯ

Slide 4

Slide 4 text

Ծ૝Ϛγϯ 7. w ϗετ04ͷ্Ͱผͷήετ04Λಈ࡞ͤ͞Δٕज़ w ήετ04Λಈ࡞ͤ͞ΔͨΊʹϋʔυ΢ΣΞΛ ΤϛϡϨʔτ w ϋΠύʔόΠβͰ7.Λ؅ཧ

Slide 5

Slide 5 text

Ծ૝Ϛγϯ ϋʔυ΢ΣΞ ΦϖϨʔςΟϯάγεςϜ ΞϓϦ ϋΠύʔόΠβ 04 04 ΞϓϦ

Slide 6

Slide 6 text

Ծ૝ԽͷϝϦοτ w ෳ਺ͷ෺ཧαʔόʔΛ౷߹ w 8JOEPXTPO-JOVY΋Մೳ w ؅ཧ͕༰қʹ ϚγϯΛϑΝΠϧͱͯ͠ѻ͑Δ

Slide 7

Slide 7 text

Ծ૝ԽͷσϝϦοτ w Ծ૝ԽʹΑΔΦʔόʔϔου ಛʹ*0 w Ծ૝ԽʹΑΓϚγϯ͕૿͑Δ͜ͱ͕͋Γ 
 ͦͷ৔߹ͷߏ੒؅ཧ

Slide 8

Slide 8 text

Ծ૝Ϛγϯ ϋʔυ΢ΣΞ ΦϖϨʔςΟϯάγεςϜ ΞϓϦ ϋΠύʔόΠβ 04 04 ΞϓϦ ^༷ʑͳ޻෉Ͱ ߴ଎Խ ྫ75Y ,FSOFM NPEVMFT

Slide 9

Slide 9 text

ίϯςφܕԾ૝Խ w ΞϓϦέʔγϣϯΛϗετ04্ͷϓϩηεͱ͠ ࣮ͯߦ w 04ͷΧʔωϧͷػೳΛ࢖ͬͯ 
 ༷ʑͳϦιʔεΛ֤ίϯςφ͝ͱʹִ཭

Slide 10

Slide 10 text

ίϯςφ ίϯςφܕԾ૝Խ ϋʔυ΢ΣΞ ΦϖϨʔςΟϯάγεςϜ ΞϓϦέʔγϣϯ ίϯςφ ΞϓϦέʔγϣϯ

Slide 11

Slide 11 text

ίϯςφܕԾ૝ԽͷϝϦοτ w Ϧιʔεͷফඅྔ͕গͳ͍ w ଟ͘ͷίϯςφΛҰͭͷϚγϯͰ w ΞϓϦέʔγϣϯͷΈͷىಈ w Φʔόʔϔου͕গͳ͍ w ىಈ͕ૣ͍

Slide 12

Slide 12 text

ίϯςφܕԾ૝ԽͷσϝϦοτ w ΧʔωϧΛϗετͱڞ༗͢Δ w %FCJBO্Ͱ$FOU04Λಈ͔ͯ͠΋ Χʔωϧ ͸%FCJBOͷ΋ͷ w 7.ͰՄೳͳ8JOEPXTPO-JOVY͸ෆՄ

Slide 13

Slide 13 text

Ϧιʔεͷִ཭ w ֤ίϯςφؒͷϦιʔεͷִ཭ʹ͸Χʔωϧͷ ػೳΛ༻͍Δ w ੲ͔Β͋ΔDISPPUͷߟ͑ํΛ༷ʑͳϦιʔε ʹ͍֦ͭͯுͨ͠Πϝʔδ w Ҏ߱͸-JOVYʹ͍ͭͯͷ͓࿩

Slide 14

Slide 14 text

Ϧιʔεͷִ཭ w -JOVY w OBNFTQBDF NPVOU 1*% 6*% (*% FUDʜ w DHSPVQT $16 NFNPSZ FUDʜ w ͳͲ

Slide 15

Slide 15 text

BVGT w BEWBODFENVMUJMBZFSFEVOJpDBUJPO pMFTZTUFN w ϨΠϠʔঢ়ʹͳͬͨ ϑΝΠϧγεςϜ w -JOVYͷ-JWF$%%7%ͳͲͰ࠾༻͞Ε͖ͯͨ w $%%7%ͷϨΠϠʔͷ্ʹϝϞϦͷ
 ϨΠϠʔ

Slide 16

Slide 16 text

% BVGT " & # % $ " $ %` & -BZFS -BZFS -BZFS ্͔ΒݟΔͱ &` # %` &`

Slide 17

Slide 17 text

%PDLFS w Ұ൪ྲྀߦͬͯΔίϯςφܕԾ૝Խٕज़ w -JOVYͷίϯςφٕज़ w ಛघͳϑΝΠϧγεςϜ BVGT CUSGTͳͲ w %PDLFSpMFʹΑΔΠϝʔδͷ࡞੒ w 8JOEPXT΍049Ͱར༻͢Δʹ͸ 
 ܰྔͳ-JOVYͷ7.ΛཱͯΔ

Slide 18

Slide 18 text

%PDLFSͰͷ࡞ۀͷྲྀΕ %PDLFSpMF ΠϝʔδΛ ࡞੒͢Δͨ ΊͷϨγϐ $ docker build %PDLFSpMFΛ
 ΋ͱʹΠϝʔδΛ࡞੒ Πϝʔδ ΞϓϦ΍
 ϑΝΠϧ
 BVGTͳͲ

Slide 19

Slide 19 text

%PDLFSpMF FROM debian:jessie RUN apt-get install python3 COPY . /app EXPOSE 80 CMD ["python", "/app/start.py"]

Slide 20

Slide 20 text

%PDLFSpMFͱBVGTͷରԠ " & # % &` " % & COPY . /app RUN apt-get install python3 ্͔ΒݟΔͱ # &`

Slide 21

Slide 21 text

%PDLFSͰͷ࡞ۀͷྲྀΕ Πϝʔδ ΞϓϦ΍
 ϑΝΠϧ
 BVGTͳͲ $ docker pull / push ΠϝʔδΛϨδετϦ FH%PDLFS)VC ͔Βऔಘ ϨδετϦʹొ࿥ Πϝʔδͷ࠶ར༻ %PDLFSpMF ΠϝʔδΛ ࡞੒͢Δͨ ΊͷϨγϐ

Slide 22

Slide 22 text

%PDLFSͰͷ࡞ۀͷྲྀΕ %PDLFSpMF ΠϝʔδΛ ࡞੒͢Δͨ ΊͷϨγϐ $ docker run ΠϝʔδΛ΋ͱʹίϯςφΛ ࡞੒͠ϓϩηεΛىಈ Πϝʔδ ΞϓϦ΍
 ϑΝΠϧ
 BVGTͳͲ "1 "1 "1

Slide 23

Slide 23 text

ίϯςφͷ࡞੒ͱBVGT " & # % &` " % &` ্͔ΒݟΔͱ $ ίϯςφ͝ͱʹ ࡞੒ $ COPY . /app RUN apt-get install python3 #