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

Dockerを本番導入するにあたり得た知見

 Dockerを本番導入するにあたり得た知見

JAWS-UG横浜 #10 - Docker での発表資料です

Shoichiro Nagai(shnagai)

July 19, 2017
Tweet

More Decks by Shoichiro Nagai(shnagai)

Other Decks in Technology

Transcript

  1. ϚϚϦͷαʔϏε঺հ ϚϚϦ2 ϚϚΛࢧ͑Δ2"ΞϓϦ  ೥ʹग़࢈ͨ͠ঁੑͷਓʹਓ͕ ձһొ࿥
 
 ϚϚϦ ϚϚΛࢧ͑Δ8FCϝσΟΞ 


    
 ˞೥݄࣌఺
 ݄ؒར༻ऀɿ໿ສਓ
 ݄ؒ౤ߘ਺ɿສ݅Ҏ্
 ݄ؒӾཡ਺ɿ໿ԯ17
 
 
 
 
 
 
 

  2. w %PDLFS͸ͱͯ΋ศར w ͕ͩɺίϯςφͷϥΠϑαΠΫϧΛճ͢ͷ͸΍΍໘౗
 खಈͰ΍Ζ͏ͱ͢Δͱ͜Μͳεςοϓ͕ɺɺ
 
 ϩʔΧϧϚγϯ Ϗϧυˠ&$3QVTI 
 EPDLFSCVJMEUYYELSFDSBQOPSUIFBTUBNB[POBXTDPNIPHFEEMMBUFTU

    
  BXTFDSHFUMPHJOSFHJPOBQOPSUIFBTU 
 EPDLFSQVTIYYELSFDSBQOPSUIFBTUBNB[POBXTDPNIPHFEEMMBUFTU
 &$ &$3QVMMˠچίϯςφഁغˠίϯςφىಈ 
  BXTFDSHFUMPHJOSFHJPOBQOPSUIFBTU 
 EPDLFSQVMMYYELSFDSBQOPSUIFBTUBNB[POBXTDPNIPHFEEMMBUFTU
 EPDLFSLJMMIPHFEEM
 EPDLFSSNIPHFEEM
 EPDLFSSVOEOBNFIPHFEEMYYELSFDSBQOPSUIFBTUBNB[POBXTDPNIPHFEEMMBUFTU
 ΦʔέετϨʔγϣϯͷਏΈ
  3. w ԼهͷͭͷίϯϙʔωϯτͰ&$4͸ߏ੒͞ΕΔɻ
 ͜ΕΒͷ૬͕ؔதʑཧղग़དྷͣҰ౓͸ఘΊͨɻɻɻ
 
 λεΫ
 %PDLFSίϯςφ
 λεΫఆٛ
 ɹ%PDLFSίϯςφͷىಈύϥϝʔλ౳ EPDLFSDPNQPTFZNM૬౰ 


    αʔϏε
 ɹλεΫΛ·ͱΊΔάϧʔϓ λεΫىಈ਺"-#࿈ܞ"VUPTDBMFͷઃఆ౳ 
 Ϋϥελ
 ɹλεΫΛಈ͔͢ϗετ &$ ͷू߹ମΛఆٛ "VUP4DBMMJOH(SPVQPSΧελϜ&$ 
 ᶃ&$4ͷ֤ίϯϙʔωϯτͷ૬ؔΛཧղ͢Δͷ͕೉͍͠
  4. w &$4؀ڥͰͷ%PDLFSίϯςφσϓϩΠϑϩʔ
 %PDLFSGJMFͷ࡞੒͸ϩʔΧϧͷ։ൃ؀ڥͰ׬݁
 σϓϩΠ࣌ʹඞཁͳࣄ ։ൃ؀ڥͰ࡞ͬͨ%PDLFSΠϝʔδΛ"84্ʹ഑උ͢Δ 
 ɹ%PDLFSGJMFϏϧυ&$3ʹQVTIλεΫఆٛͷ৽ϦϏδϣϯ࡞੒αʔϏεߋ৽ w &$4ͷσϓϩΠ෦෼͸ɺFDTEFQMPZ͕ྑͦ͞͏
 ৽͍͠ίϯςφͷ഑උλεΫఆٛͷ৽ϦϏδϣϯ࡞੒αʔϏεߋ৽͕ඞཁ


    ͜ͷ෦෼ΛࣗಈԽͯ͘͠ΕΔπʔϧ
 FDTEFQMPZ͸ɺFDTDMJΛ࢖ͬͯॻ͔Ε͍ͯΔͷͰɺಡΈ΍͍͢
 ऴྃΛ଴ͬͯ͘ΕΔ FDTDMJͷEFTDSJCFTFSWJDFTTFSWJDFTEFQMPZNFOU͕ʹͳΔͷΛ؂ࢹ 
 ʲαϯϓϧίϚϯυʳ
 FDTEFQMPZU λεΫߋ৽ͷλΠϜΞ΢τ஋ DE<Ϋϥελ໊>O<αʔϏε໊>J<%PDLFSϦϙδτϦͷ63-> 
 ˞IUUQTHJUIVCDPNTJMJOUFSOBUJPOBMFDTEFQMPZ ᶆ&$4؀ڥͰͷσϓϩΠϕετϓϥΫςΟε