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

ぼくのかんがえたさいきょうのDocker Build

Fd223ed912b754bc4c4338d148a69c78?s=47 kotaroooo0
August 27, 2020
35

ぼくのかんがえたさいきょうのDocker Build

Fd223ed912b754bc4c4338d148a69c78?s=128

kotaroooo0

August 27, 2020
Tweet

Transcript

  1. !LPUBSPPPP ΅͘ͷ͔Μ͕͍͖͑ͨ͞ΐ͏ͷ %PDLFS#VJME

  2. ςʔϚ %PDLFSpMF͕ͳΜͱ͔ॻ͚ΔΑ͏ʹͳͬ ͨ࣌ͷࣗ෼ʹ఻͍͑ͨ͜ͱ

  3. ྑ͍%PDLFS#VJMEͱ͸ w Ϗϧυ͕࣌ؒ୹͍ ˠ$*$%ͷߴ଎Խ w ੜ੒͞ΕͨΠϝʔδαΠζ͕খ͍͞ ˠ1VTI 1VMMͷߴ଎Խ ˠηΩϡϦςΟͷ޲্

  4. ΞδΣϯμ w$*Ͱͷ%PDLFS#VJMEͷ໰୊఺ wϚϧνεςʔδϏϧυͷ໰୊఺ w%PDLFS#VJMEͷվળࡦ wμϝͩͬͨࡦ

  5. ΞδΣϯμ w$*Ͱͷ%PDLFS#VJMEͷ໰୊఺ wϚϧνεςʔδϏϧυͷ໰୊఺ w%PDLFS#VJMEͷվળͷํ਑ wμϝͩͬͨࡦ

  6. ඒ༰ҩྍͰͷ%PDLFS#VJME

  7. ϩʔΧϧͰͷ%PDLFS؀ڥ $*Ͱͷ%PDLFS؀ڥ

  8. $*Ͱͷ%PDLFS#VJMEͷ໰୊఺ͱղܾࡦ ໰୊఺ $*Ͱ͸ຖճEPDLFSE͕มΘΔ ˠΩϟογϡ͕࢒Βͳ͍ ղܾࡦ ϏϧυͷͨͼʹΩϟογϡΛޮ͔ͤΔͨΊϦϞʔτ͔ΒΠϝʔδΛ1VMM ˠEPDLFSCVJMEŠDBDIFGSPNIQCDGSPOUMBUFTU

  9. ΞδΣϯμ w$*Ͱͷ%PDLFS#VJMEͷ໰୊఺ wϚϧνεςʔδϏϧυͷ໰୊఺ w%PDLFS#VJMEͷվળͷํ਑ wμϝͩͬͨࡦ

  10. ϚϧνεςʔδϏϧυͱ͸ '30.Λෳ਺ճهड़ͯ͠ɺες ʔδΛ෼͚Δ NWOQBDLBHFͨ͠ੜ੒෺͚ͩ Λ࠷ऴΠϝʔδʹؚΊΔ͜ͱ͕ Ͱ͖Δ (00%✌ ΠϝʔδͷܰྔԽ

  11. ϚϧνεςʔδϏϧυͷ໰୊ͱղܾࡦ ໰୊఺ w ࠷ऴεςʔδʹ͸Ωϟογϡʹར༻Ͱ͖Δ৘ใ͸΄ͱΜͲؚ· Ε͍ͯͳ͍ ղܾࡦ w தؒεςʔδʹ΋λάΛ෇͚ͯϨδετϦʹ1VTI͢Δ w ŠDBDIFGSPNͰதؒεςʔδ΋શͯΩϟογϡʹར༻͢Δ

  12. ΞδΣϯμ w$*Ͱͷ%PDLFS#VJMEͷ໰୊఺ wϚϧνεςʔδϏϧυͷ໰୊఺ w%PDLFS#VJMEͷվળͷํ਑ wμϝͩͬͨࡦ

  13. ΍Δ͜ͱ w ϏϧυεΫϦϓτ w #VJME,JUΛར༻ w ŠDBDIFGSPNΛར༻ w %PDLFSpMF w

    ґଘΠϯετʔϧͱϏϧυΛ෼͚Δ w ΠϝʔδͷܰྔԽ w EPDLFSJHOPSF w $*ͷઃఆ
  14. #VJME,JUΛར༻ FYQPSU%0$,&3@#6*-%,*5 "(00% ෳ਺εςʔδͷϏϧυฒྻԽ ŠDBDIFGSPNͰͷ֎෦Ωϟογϡͷར༻

  15. ŠDBDIFGSPNΛར༻ &$3ͳͲ֎෦ϨδετϦΛ࢖ͬͯϨΠϠʔΩϟογ ϡΛޮ͔ͤΔํ๏ Ϗϧμʔ͸ϨδετϦ͔ΒϝλσʔλͷΈΛऔಘ ͠ɺΩϟογϡώοτͷՄೳੑ͕͋ΔϨΠϠʔͷΈ Λ1VMM͢Δ

  16. ŠDBDIFGSPNΛར༻ ࣄલʹதؒεςʔδʹλάΛ෇͚ͯϦϞʔτϨδετϦʹ1VTI ͓͔ͯ͠ͳ͍ͱ͍͚ͳ͍ λά෇͚ 1VTI

  17. ŠDBDIFGSPNΛར༻ "(00% Ωϟογϡ͕ޮ͘Α͏ʹͳΔ #VJME,JU͕ͳ͍࣌୅Ͱ͸EPDLFSQVMM͠ͳ͍ͱΩϟογϡΛ ޮ͔ͤΒΕͳ͔ͬͨ

  18. %PDLFSGJMFͰґଘΠϯετʔϧͱϏϧυΛ෼͚Δ

  19. %PDLFSGJMFͰґଘΠϯετʔϧͱϏϧυΛ෼͚Δ ˠ

  20. %PDLFSGJMFͰґଘΠϯετʔϧͱϏϧυΛ෼͚Δ ˠ

  21. %PDLFSGJMFͰґଘΠϯετʔϧͱϏϧυΛ෼͚Δ "(00% εςʔδؒͷґଘ͕ͳ͘ͳΓฒྻϏϧυͰ͖Δ ϨΠϠʔΩϟογϡ͕ޮ͖΍͘͢ͳΔ

  22. ΠϝʔδͷܰྔԽ தؒεςʔδ΋1VTIͨ͠Γ1VMM͢ΔͷͰΠϝʔδͷܰྔԽΛ͢Δͱྑ͍ IUUQTHJUIVCDPNXBHPPENBOEJWF IUUQTLPUBSPPPPEFWIBUFOBCMPHDPNFOUSZ

  23. EPDLFSJHOPSF EPDLFSJHOPSFΛॻ͘ ༨ܭͳϑΝΠϧ͸EPDLFSEʹૹΒͳ͍Α͏ʹ͢Δ "(00% %PDFLSpMFͷ$01:Έ͍ͨͳ࣌ʹ༨ܭͳϑΝΠϧͷมߋ͕ݕ஌͞ΕͯΩ ϟογϡ͕ޮ͔ͳ͘ͳΔ͜ͱ͕গͳ͘ͳΔ

  24. ܭଌ มߋલ෼ඵఔ౓ มߋޙ Ωϟογϡ͕ޮ͔ͳ͍࣌ ճ໨ͳͲ  ෼ඵఔ౓ QPNYNMͷมߋ͕ͳ͍࣌ NWOEFQFOEFODZSFTPMWF·ͰΩϟογϡ͕ޮ࣌͘ 

    ෼ඵఔ౓ શͯϨΠϠʔͰΩϟογϡ͕ޮ࣌͘ ෼ඵఔ౓
  25. ΞδΣϯμ w$*Ͱͷ%PDLFS#VJMEͷ໰୊఺ wϚϧνεςʔδϏϧυͷ໰୊఺ w%PDLFS#VJMEͷվળͷํ਑ wμϝͩͬͨࡦ

  26. ͩΊͩͬͨࡦ w $PEF#VJMEͷϩʔΧϧΩϟογϡ w 36/NPVOUUZQFDBDIF w #VJMEYʹΑΔϏϧυ

  27. $PEF#VJMEͷϩʔΧϧΩϟογϡ $PEF#VJMEͰ͸ϩʔΧϧΩϟογϡػೳ͕͋Γ%PDLFS-BZFS$BDIFϞʔ υ͕͋Δ ˠϩʔΧϧͰͷ%PDLFS#VJMEͷΑ͏ʹϨΠϠʔΩϟογϡΛޮ͔ͤΒΕΔ Ͱ΋ɺ͜ͷϩʔΧϧΩϟογϡ͸ੜଘ͕࣌ؒ୹͗ͯ͢࢖͍෺ʹͳΒͳ͍

  28. 36/NPVOUUZQFDBDIF ίϯύΠϥ΍ύοέʔδϚωʔδϟͷΩϟογϡΛϚ΢ϯτͯ͠ΩϟογϡΛޮ ͔ͤΔ͜ͱ͕Ͱ͖Δ ϩʔΧϧͰϏϧυͯ͠ΈΔͱɺ࣌ؒ࡟ݮ

  29. 36/NPVOUUZQFDBDIF 4ΩϟογϡʹύοέʔδϚωʔδϟ ͷΩϟογϡΛอଘͯ͠࢖͓͏ͱͨ͠ ͔͠͠ɺ36/ŠNPVOUUZQFDBDIF ͸EPDLFSEʹґଘ͢ΔͨΊɺ$*ͷΑ ͏ͳEPDLFSE͕ຖճมΘΔ؀ڥͰ͸࢖ ༻Ͱ͖ͳ͍Έ͍ͨ

  30. #VJMEYʹΑΔϏϧυ %PDLFS#VJMEY w %PDLFSίϚϯυΛ֦ு͢Δ$-*ϓϥάΠϯ w .PCZ#VJME,JUϏϧμʔπʔϧΩοτʹΑΓఏڙ͞ΕΔػೳʹ׬શରԠ

  31. #VJMEYʹΑΔϏϧυ ˠ

  32. CVJMEYʹΑΔϏϧυ $PEF#VJMEͰ༻ҙ͞Ε͍ͯΔϕʔεΠϝʔδͰ͸#VJMEY ͸࢖͑ͳ͍ 6OGPSUVOBUFMZ XFXPOUCFBEEJOHBOZ FYQFSJNFOUBMGFBUVSFT#VJMEYJTTUJMM FYQFSJNFOUBM ΧελϜϕʔεΠϝʔδΛ࢖͑͹ར༻Ͱ͖Δ͕ɺίεύ͕ ݟ߹ͬͯͳͦ͞͏ͳͷͰ΍Ίͨ

  33. ·ͱΊ εΫϦϓτ w #VJMEYΛ࢖͑ΔͳΒ࢖͏ w ࢖͑ͳ͍ͳŠDBDIFGSPNͰΰϦԡ͢͠Δ %PDLFSpMF w ґଘΠϯετʔϧͱϏϧυΛ෼͚Δ w

    εςʔδؒͷґଘΛͰ͖Δ͚ͩݮΒ͢ w தؒΠϝʔδ΋ܰྔԽ͢Δ