Upgrade to Pro — share decks privately, control downloads, hide ads and more …

docker-ojisan

 docker-ojisan

Dockerおじさん

Kohei Ota

July 25, 2017
Tweet

More Decks by Kohei Ota

Other Decks in Technology

Transcript

  1. %PDLFSͱ͸ %PDLFS͸%PDLFS *OD ੲ͸EPU$MPVEͱ͍͏໊ࣾ ͱ͍͏اۀ͕։ൃ͍ͯ͠ΔԾ ૝ԽͷͨΊͷΦʔϓϯιʔειϑτ΢ΣΞͰ͢ɻ%PDLFSΛ࢖͏͜ͱͰҰͭͷϗετ 04ͷ্ͰԾ૝తʹෳ਺ͷ04Λʮܰշʯʹʮ؆୯ʯʹಈ࡞ͤ͞Δ͜ͱ͕Ͱ͖ΔΑ͏ʹ ͳΓ·͢ɻ %PDLFS͸$MJFOU4FSWFSΞʔΩςΫνϟʔͰಈ͍͍ͯ·͢ɻ%PDLFSͷػೳࣗମ͸ αʔόʔଆͰ࣮ݱ͞Ε͍ͯͯɺϢʔβʔ͸ͦͷαʔόʔʹରͯ͠$MJFOUͰࢦࣔΛग़͠

    ͯར༻͢Δͱ͍͏࢓૊ΈͰ͢ɻ $MJFOUͷछྨʹ͸͍͔ͭ͋͘Γ·͕͢ɺओʹར༻͞ΕΔͷ͸ίϚϯυϥΠϯͱͳΓ· ͕͢ɺଞʹ͸3&45"1*ͳͲ΋͋Γ·͢ɻ$MJFOUͱαʔόʔͷ઀ଓʹؔͯ͠͸ϩʔ Χϧ ಉ͡ϚγϯͰΫϥΠΞϯτͱαʔόʔͷ྆ํ͕ಈ͘ ΋ՄೳͰ͢͠ɺϦϞʔτͷ αʔόʔΛϩʔΧϧϚγϯͷΫϥΠΞϯτͰૢ࡞͢Δͱ͍ͬͨ࢖͍ํ΋ՄೳͰ͢ɻ
  2. స৬͔ͯ͠Β" w స৬೔໨ɺॳΊͯͷ.BDΛ৮Γ͍͖ͳΓ٧Ή /,(8ࢯ͕ ͍ͳ͍ؒɺφϋ͞ΜʹϔϧϓΛٻΊͨهԱ͕͋Δ  w /,(8ࢯʮ͡Ό͋ͱΓ͋͑ͣ؀ڥߏங͠·͠ΐ͏ɻΘ͔Β ͳ͍͜ͱ͕͋ͬͨΒ͖͍ͯͶʯ w

    ΅͘ʢͳʹ͕Θ͔Βͳ͍ͷ͔Α͘Θ͔Γ·ͤΜʣ w ͱΓ͋͑ͣѱઓۤಆ͙ͯͬͪ͠Ό͙ͪΌ͚ͩͲ։ൃݴޠͱ ͔όʔδϣϯ؅ཧπʔϧͱ͔৭ʑೖΕΔ͜ͱ͕ग़དྷͨ
 ౰࣌ۤ࿑͓ͨ͠ӄͰࠓ͸؀ڥߏங͓͡͞ΜʹͳͬͯΔ
  3. %PDLFS͸ͨͩαʔόΛཱͯΔ
 ͚ͩͷπʔϧͰ͸ͳ͍ʂ w 04΍؀ڥͷࠩҟΛແࢹͯ͠ίϚϯυ͕࢖͑ΔΑ͏ʹͳΔ
 IUUQRJJUBDPN,FOUP%PEPJUFNTDGEDGCDFF  w ݴޠͷόʔδϣϯ؅ཧΛίϯςφ؅ཧʹஔ͖׵͑Δͱ
 ɾίϯςφ͸͍Βͳ͘ͳͬͨΒ͙͢ফ͚ͩ͢
 ɾফͯ͠΋͙͢ʹ࠶ݱͰ͖Δ

    %PDLFSpMF 
 ɾܰྔͳΠϝʔδΛQVMMͯ͘͠Δ͚ͩ w -JOVYͰ͔͠ఏڙ͞Ε͍ͯͳ͍ίϚϯυΛ
 .BDͷλʔϛφϧ্Ͱ࢖͑Δ w .BDʹ։ൃݴޠͦͷ΋ͷΛೖΕΔख͕ؒল͚ΔͷͰ
 ϑϩϯτͷਓʹؾܰʹ؀ڥΛڞ༗͢Δ͜ͱ΋Մೳʹ
  4. %PDLFSͷ͍· w ੲ͸YΈ͍ͨͳόʔδϣϯମܥ
 ࠓ͸DF ೥݄ϦϦʔεͷ
 ίϛϡχςΟΤσΟγϣϯ  w Ͱ͸ϘϦϡʔϜΩϟογϡͷػೳ͕௥Ճ͞Εɺ
 %PDLFSGPS.BDͷίϯςφૢ࡞΋͔ͳΓߴ଎ʹͳͬͨ

    w ؀ڥʹΑͬͯϏϧυ͢ΔΠϝʔδΛҾ਺Ͱ؅ཧ͠ɺ
 ผʑͷ؀ڥΛͭͷιʔεͰ؅ཧͰ͖ΔΑ͏ʹͳͬͨ
 .VMUJTUBHFCVJMET  w %PDLFS$PNQPTF͸·Ͱόʔδϣϯ͕͕͋Γ
 ωοτϫʔΫ΍ϘϦϡʔϜ͕Ұݩ؅ཧͰ͖ΔΑ͏ʹͳͬͨ w 1SPNFUIFVT ؂ࢹπʔϧ ͰϗετϚγϯͷϝϞϦͱ͔
 Ϧιʔε؅ཧ͕Ͱ͖ΔΑ͏ʹͳͬͨ
 ͘͹Ͷͯ͢ͱ͔FUDEͱ͔΋ରԠͯ͠ΔͷͰ͍ͬͯ͡Έ͍͚ͨͲ΍Εͯͳ͍