コンテナイメージ最新事情 -Beyond the Best Practices- / Modern Container Image Build -Beyond the Best Praticies-

Ad22fcf5773b906c08330f4d57242212?s=47 Kohei Ota
November 27, 2019

コンテナイメージ最新事情 -Beyond the Best Practices- / Modern Container Image Build -Beyond the Best Praticies-

Ad22fcf5773b906c08330f4d57242212?s=128

Kohei Ota

November 27, 2019
Tweet

Transcript

  1. ίϯςφΠϝʔδ࠷৽ࣄ৘ #FZPOEUIF#FTU1SBDUJDFT $MPVE/BUJWF%BZT,BOTBJલ໷ࡇ.FFUVQ
 1SFTFOUFECZ!JOEVDUPS

  2. ࣗݾ঺հ w JOEVDUPS w %PDLFS.FFUVQ5PLZP0SHBOJ[FS w ೔ຊίϯςφϏϧυ૊߹һ ओʹࡶ༻  w

    কདྷͷເ͸೦͚ͨͩ͡Ͱαʔόʔ͕͍͍ײ͡ʹ্ཱ͕ͪΔΑ͏ʹͳΔ͜ͱ w ໌೔͸ձࣾࣄྫͷొஃͰൃද͠·͕͢ɺࠓ೔͸εϐʔΧʔͰ͸ͳ͘ਓͷίϯςφ ޷͖ͱͯ͠ࢀՃ͍ͯ͠·͢
  3. ͸͡Ίʹ ͪΐͬͱͨ͠એ఻

  4. ϕετϓϥΫςΟεʹԊͬͯɺ %PDLFSpMFͷՄಡੑͱ ΩϟογϡɺΠϝʔδͷαΠζͷ ઓུʹ͍ͭͯߟ͑ͯΈͨ !JOEVDUPS $POUBJOFS#VJME.FFUVQ

  5. None
  6. None
  7. ͜Μͳ΋ͷΛॻ͍͍ͯ·͢

  8. None
  9. ͜Ε΋ྑ͍ࢿྉ

  10. એ఻͓ΘΓ

  11. ࠓ೔࿩͞ͳ͍͜ͱ w ίϯςφΠϝʔδͱ͸ w ίϯςφΠϝʔδͷߏ଄ w ྑ͍Πϝʔδʹ͍ͭͯ w Ϗϧυ࣌ʹ޻෉Ͱ͖Δ͜ͱ w

    #VJMEQBDLͱ͔$/"#ͷ࿩ ˡ͕͖ͬͱ࿩ͯ͘͠ΕΔ͸ͣ
  12. ϕετϓϥΫςΟε΋஌Γ͍ͨʁ

  13. None
  14. ʊਓਓਓਓਓਓਓʊ ʼɹ͜ΕΛΈͯɹʻ ʉ:?:?:?:?:?:?:?ʉ

  15. ࠓ೔࿩͢͜ͱ w ίϯςφΠϝʔδͷఆٛʹ͍ͭͯ w ΠϝʔδϏϧυͷجຊ w طଘͷํ๏ͷ໰୊఺ w ίϯςφΠϝʔδϏϧυͷ͜Ε͔Β

  16. ࠓ೔࿩͢͜ͱ w ίϯςφΠϝʔδͷఆٛʹ͍ͭͯ w ΠϝʔδϏϧυͷجຊ w طଘͷํ๏ͷ໰୊఺ w ίϯςφΠϝʔδϏϧυͷ͜Ε͔Β

  17. ίϯςφΠϝʔδͷఆٛ͸ ୭͕ܾΊ͍ͯΔͷ͔

  18. ίϯςφΠϝʔδͷఆٛ w 0$* 0QFO$POUBJOFS*OJUJBUJWF ͕ܾΊ͍ͯΔ w IUUQTHJUIVCDPNPQFODPOUBJOFSTJNBHFTQFD w ͜ͷ4QFDʹଇͬͨΠϝʔδΛ%PDLFSpMF͔Β࡞੒͢Ε͹ɺ ཧ࿦্͸ίϯςφΠϝʔδ͕ϏϧυͰ͖Δ

  19. ࠓ೔࿩͢͜ͱ w ίϯςφΠϝʔδͷఆٛʹ͍ͭͯ w ΠϝʔδϏϧυͷجຊ w طଘͷํ๏ͷ໰୊఺ w ίϯςφΠϝʔδϏϧυͷ͜Ε͔Β

  20. ΠϝʔδϏϧυͷجຊ w %PDLFS$-*Λ࢖͏ w EPDLFSCVJMEUJNBHFOBNFͱ͔΍Ε͹Α͍ w %PDLFSEBFNPO͕ىಈ͍ͯ͠Ε͹ར༻Մೳ

  21. ࠓ೔࿩͢͜ͱ w ίϯςφΠϝʔδͷఆٛʹ͍ͭͯ w ΠϝʔδϏϧυͷجຊ w طଘͷํ๏ͷ໰୊఺ w ίϯςφΠϝʔδϏϧυͷ͜Ε͔Β

  22. ͜͜Ͱͭ໰୊Ͱ͢

  23. %PDLFSͷΞʔΩςΫνϟ http://www.studytrails.com/devops/docker-architecture-engine-containerd-runc/

  24. %PDLFSͷΞʔΩςΫνϟ ΫϥΠΞϯτ ϥϯλΠϜ ωοτϫʔΫ ϘϦϡʔϜ http://www.studytrails.com/devops/docker-architecture-engine-containerd-runc/

  25. %PDLFSͷΞʔΩςΫνϟ ΫϥΠΞϯτ ϥϯλΠϜ ωοτϫʔΫ ϘϦϡʔϜ ͍ͭ͜ΒΈΜͳ࣮ߦʹಛݖ SPPU ͕ඞཁ http://www.studytrails.com/devops/docker-architecture-engine-containerd-runc/ ͔͠΋͜ͷਤʹ͸#VJMEFS͕͍ͳ͍ɾɾɾ

  26. طଘͷํ๏ͷ໰୊఺ w EPDLFSCVJMEͷ࣮ߦʹ͸%PDLFSEBFNPO͕ඞཁ w %PDLFS͸Ұൠʹ͸ಛݖϢʔβʔ SPPU Ͱಈ͔͢ w $*্Ͱ%PDLFSΛಈ͔͢৔߹ɺҎԼͷ͍ͣΕ͔Λͨ͠ ঢ়ଶͰ%PDLFS$-*Λ࢖͏ඞཁ͕͋Δ

    w ಛݖͰಈ͍ͯΔϗετ্ͷ
 WBSSVOEPDLFSTPDL
 ΛϚ΢ϯτ %PDLFSJO%PDLFS  w 5-444)ܦ༝Ͱ3FNPUF%PDLFSʹ઀ଓ
  27. $*্ͰͷΠϝʔδϏϧυʹ͸ ಛݖ͔ผϗετ͕ඞཁ

  28. ࠓ೔࿩͢͜ͱ w ίϯςφΠϝʔδͷఆٛʹ͍ͭͯ w ΠϝʔδϏϧυͷجຊ w طଘͷํ๏ͷ໰୊఺ w ίϯςφΠϝʔδϏϧυͷ͜Ε͔Β

  29. 0$*ͷ41&$ʹଇ࣮ͬͯ૷͞Εͨ
 ಛݖແ͠Ͱಈ࡞͢ΔϏϧμʔ͕
 ͋Ε͹ແବͳݖݶ΋͍Βͳ͍ͷͰ͸

  30. ҆͝৺͍ͩ͘͞ ͋Γ·͢

  31. ʊਓਓਓਓਓਓਓਓਓਓਓਓਓʊ ʼɹ࣍ੈ୅ΠϝʔδϏϧμʔɹʻ ʉ:?:?:?:?:?:?:?:?:?:?:?:?:?ʉ

  32. ࣍ੈ୅ΠϝʔδϏϧμʔ w #VJME,JU w %PDLFSެࣜͰग़ͯ͠Δ࣍ੈ୅ΠϝʔδϏϧμʔ w %PDLFSͰ΋࢖͏͜ͱ͕ग़དྷΔ ࠓ͙͢#VJME,JUͰݕࡧͩʂ  w

    %PDLFSpMFΛ.VMUJ4UBHF#VJMEʹ͓͚ͯ͠͹Ϗϧυͷฒྻ࣮ߦ΋Մೳ w Ϗϧυͷฒྻ࣮ߦ͸௒ܹΞπͰ͢ΈΜͳ࢖ͬͯ ΦλΫಛ༗ͷૣޱ  w CVJMEDUMͱCVJMELJUEͱ͍͏%PDLFSʹґଘ͠ͳ͍ܗͰͷಈ࡞΋ఏڙ
  33. w LBOJLP w $*Ͱͷಈ࡞ʹ࠷ద w σϑΥͰίϯςφΠϝʔδΛࢦఆͯ͠ಈ͔͢ w EPDLFSSVOHDSJPLBOJLPQSPKFDUXBSNFSMBUFTU
 Έ͍ͨͳײ͡Ͱ࣮ߦ͢Δ͚ͩͰϏϧυͰ͖Δ w

    ΩϟογϡΛΦϒδΣΫτετϨʔδʹ֨ೲͰ͖Δ ࣍ੈ୅ΠϝʔδϏϧμʔ
  34. w #VJMEBI w 3FE)BU͕։ൃ͍ͯ͠ΔΠϝʔδϏϧμʔ w ϩΰ͕ՄѪ͍ w 3FE)BUͷ໨࿦ݟͱͯ͠͸%PDLFS͔Β෼཭͍ͨ͠Β͍͠ w #VJMEBI

    $POUBJOFS#VJMEFS  w 1PENBO$3*0 $-*$POUBJOFS3VOUJNF ࣍ੈ୅ΠϝʔδϏϧμʔ
  35. ࣍ੈ୅ΠϝʔδϏϧμʔ w #B[FM w ίϯςφ͚ͩͰͳ༷͘ʑͳ؀ڥͷϏϧυʹରԠ w %PDLFSpMFʹґଘͤͣɺ#B[FMͷه๏Ͱ׬݁Ͱ͖Δ w ෳ਺ͷݴޠͷϓϩδΣΫτΛѻ͏ͷʹ௕͚͍ͯΔ

  36. ࣍ੈ୅ΠϝʔδϏϧμʔ w #B[FM w ίϯςφ͚ͩͰͳ༷͘ʑͳ؀ڥͷϏϧυʹରԠ w %PDLFSpMFʹґଘͤͣɺ#B[FMͷه๏Ͱ׬݁Ͱ͖Δ w ෳ਺ͷݴޠͷϓϩδΣΫτΛѻ͏ͷʹ௕͚͍ͯΔ

  37. ࣍ੈ୅ΠϝʔδϏϧμʔͷ
 ͕͍͜͜͢͝ w ίϯςφ্Ͱಈ࡞͢Δ $*/BUJWF  w ,VCFSOFUFT্Ͱಈ͔͢͜ͱ΋ग़དྷΔ w 1PEͱΦʔτεέʔϥʔͷઃఆೖΕͱ͚͹εέʔϦϯά΋ָͪΜ

    w %PDLFSࣗମͷଘࡏʹґଘͤͣ࢖͑ΔͷͰηΩϡϦςΟతʹ΋ྑ͍
  38. طଘͷϏϧμʔ͸ ஗͍ˍηΩϡϦςΟతʹ΋
 ՝୊͕͋Δ

  39. ࣍ੈ୅Ϗϧμʔ͸
 ͍҆ɺ଎͍ɺ͏·͍ʢʁʣ

  40. -FU`TTUBSUVTJOH
 UIFOFXHFOFSBUJPOT

  41. "BBOEIBWFBCFUUFS DPOUBJOFSCVJMEMJGF

  42. 5IBOLZPVGPSZPVS BUUFOUJPO