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

コンテナってなあに?/Container Basic

コンテナってなあに?/Container Basic

※過去資料

2018/11/24
社内LT コンテナってなあに?
当時の理解不足により誤った記載もあるためご注意ください。

mochizuki875

April 08, 2023
Tweet

More Decks by mochizuki875

Other Decks in Technology

Transcript

  1. ίϯςφͬͯͳ͋ʹʁ
    ,FJUB.PDIJ[VLJ

    View full-size slide

  2. ˗໊લ
    ɾ๬݄ܟଠ
    ˗झຯ
    ɾԻָʢϕʔεɺΪλʔʣ
    ɾ*5ͷษڧ
    ˗࠷ۙͷ͜ͱ
    ɾެࢲڞʹಌΕͷ.BD#PPLΛ
    ɹखʹೖΕ·ͨ͠
    ɾ࠷ۙ͸KFOLJOT͸͡Ί
    ɹύΠϓϥΠϯʹڵຯ͕͋Γ·͢
    ɾ͜ͷલͶ͝ͱͰKFOLJOTͱݴͬͯ
    ɹ͍ͨɺɺɺΒ͍͠
    ɾࢲੜ׆Λগ͠վΊΑ͏ͱࢥ͍·͢
    ࣗݾ঺հ

    View full-size slide

  3. ೥ʹίϯςφٕज़ʹணख͍ͯ͠Δاۀׂ߹
    *%$+"1"/גࣜձࣾ
    IUUQTXXXJEDKBQBODPKQ1SFTT$VSSFOU"QSIUNM

    View full-size slide

  4. *%$+"1"/גࣜձࣾ
    IUUQTXXXJEDKBQBODPKQ1SFTT$VSSFOU"QSIUNM
    ண࣮ʹ૿Ճ܏޲

    View full-size slide

  5. ίϯςφٕज़ͷཧղ͸
    ࠓޙͷ*5քΛઓ͏্Ͱඞਢʂʂ

    View full-size slide

  6. ͚Ͳ͞ɺɺɺ

    View full-size slide

  7. ίϯςφͬͯ
    Πϯϑϥͷ࿩Ͱ͠ΐʁ

    View full-size slide

  8. ΞϓϦέʔγϣϯΤϯδχΞ
    ͷԶͨͪʹ͸ؔ܎ແ͘ͳ͍ʁʁ

    View full-size slide

  9. ίϯςφٕज़͸
    ΞϓϦέʔγϣϯΤϯδχΞ͕
    ׆༻ͯͦ͜͠Ձ஋͕͋Γ·͢ʂ

    View full-size slide

  10. 2VFTUJPO
    ͭͷαʔόʢ04ʣ্ʹ
    ෳ਺ͷ"QQΛ্ཱ͍ͪ͛ͨ
    ͱ͍͏͜ͱͰɾɾɾ

    View full-size slide

  11. 4FSWFS
    "QQ
    &YFDVUJPO
    &OWJSPONFOU
    "QQ
    &YFDVUJPO
    &OWJSPONFOU
    "QQ
    &YFDVUJPO
    &OWJSPONFOU
    ී௨ʹཱͯΔͱɾɾɾ
    ͭͷ؀ڥΛ"QQಉ࢜Ͱڞ༗͢Δ͜ͱʹͳΔ
    ͋Δ"QQ͕αʔόϦιʔε ϝϞϦͱ͔
    ৯͍ͭͿͨ͠Βશ෦ࢮ͵
    ͋Δ"QQ޲͚ʹߦͬͨઃఆมߋ͕ҙਤ͠ͳ͍"QQʹӨڹ
    ʢԿ͔ͱෆ҆ɺӨڹௐࠪʹ͔͔࣌ؒΔʣ

    View full-size slide

  12. 4FSWFS
    "QQ
    &YFDVUJPO
    &OWJSPONFOU
    7.
    "QQ
    &YFDVUJPO
    &OWJSPONFOU
    7.
    "QQ
    &YFDVUJPO
    &OWJSPONFOU
    7.
    ͡Ό͋7.Ͱ΍Δͷ͸ʁ
    ͍͍ͪͪαʔό࡞Δͷ໘౗ʢߏங࡞ۀ΋όΧʹͳΒͳ͍ʣ
    Ϧιʔε৯͏ʢ"QQ਺෼04͕ඞཁʹͳΔʣ
    ͦΜͳʹ͍Βͳ͍ɾɾɾ
    ʢ؀ڥΛ෼͚͍͚ͨͩͰෳ਺ͷ04ͷػೳ͕ཉ͍͠༁͡Όͳ͍ʣ

    View full-size slide

  13. 4FSWFS
    "QQ
    &YFDVUJPO
    &OWJSPONFOU
    "QQ
    &YFDVUJPO
    &OWJSPONFOU
    "QQ
    &YFDVUJPO
    &OWJSPONFOU
    ݁ہͲ͏Ͱ͖ͨΒخ͍͠ͷʁ
    "QQ͝ͱʹ࣮ߦ؀ڥ΍ϦιʔεΛִ཭͍ͨ͠
    ϋίͷத͸ଞͷϋί΍ϗετ04ͱ͸׬શʹಠཱ
    ϓϩηε΍ϑΝΠϧγεςϜ΋ଞ͔Βݟ͑ͳ͍͠ׯব͞Εͳ͍
    Ϧιʔε͸ϋίͷେ͖͞Ҏ্ʹ࢖Θͤͳ͍

    View full-size slide

  14. 4FSWFS
    "QQ
    &YFDVUJPO
    &OWJSPONFOU
    "QQ
    &YFDVUJPO
    &OWJSPONFOU
    "QQ
    &YFDVUJPO
    &OWJSPONFOU
    ݁ہͲ͏Ͱ͖ͨΒخ͍͠ͷʁ
    "QQ͝ͱʹ࣮ߦ؀ڥ΍ϦιʔεΛִ཭͍ͨ͠
    ϋίͷத͸ଞͷϋί΍ϗετ04ͱ͸׬શʹಠཱ
    ϓϩηε΍ϑΝΠϧγεςϜ΋ଞ͔Βݟ͑ͳ͍͠ׯব͞Εͳ͍
    Ϧιʔε͸ϋίͷେ͖͞Ҏ্ʹ࢖Θͤͳ͍
    ˡ͜ͷϋί͕ίϯςφʂ

    View full-size slide

  15. վΊͯɺίϯςφܕԾ૝Խͱ͸ʁ
    ʰΞϓϦέʔγϣϯ࣮ߦ؀ڥΛִ཭͢ΔͨΊͷ
    αʔόԾ૝ԽΑΓ΋্ҐϨΠϠͷԾ૝Խʱ
    )BSEXBSF
    0QFSBUJOH4ZTUFN
    3VOUJNF
    "QQMJDBUJPO
    )BSEXBSF
    0QFSBUJOH4ZTUFN
    3VOUJNF
    "QQMJDBUJPO
    αʔόԾ૝Խ ίϯςφܕԾ૝Խ
    74
    ˞ҼΈʹԾ૝Խͱ͸ɾɾɾϦιʔεΛந৅Խ͢Δ͜ͱ

    View full-size slide

  16. Ϋδϥͷϩΰ͕ΧϫΠΠʂ

    View full-size slide

  17. EPDLFSΛ࢖͏ͱͳʹ͕خ͍͔͠
    ˗z؀ڥʴΞϓϦzΛͻͱΧλϚϦͰѻ͑Δ
    ৔ॴΛ໰ΘͣͲ͜Ͱ΋ಉ͡؀ڥΛ࠶ݱͰ͖Δʂ
    ˗*OGSBTUSVDUVSFBT$PEF͕࣮ݱͰ͖Δ
    ̎ͭͷϑΝΠϧͷΈͰίϯςφͷ࡞੒ɾىಈΛఆٛͰ͖Δʂ
    ɹ%PDLFS
    fi
    MFʢίϯςφͷઃܭਤʣ
    ɹEPDLFSDPNQPTFZNMʢίϯςφͷىಈखॱʣ

    View full-size slide

  18. EPDLFSͷ࢓૊Έ
    EPDLFSJNBHF
    %PDLFS'JMF
    %PXOMPBE
    #VJME
    %FQMPZ
    "QQ
    &YFDVUJPO
    &OWJSPONFOU
    $POUBJOFS
    3VOOJOH
    4FSWFS
    %PDLFS&OHJOF

    View full-size slide

  19. ίϯςφιϦϡʔγϣϯͷ঺հ
    ˗EPDLFS
    ɹɹˠίϯςφͱ͍ͬͨΒίϨɻ04ϑϦʔͳίϯςφϓϥοτϑΥʔϜɻ
    ɹɹɹ͋ΒΏΔ؀ڥͰίϯςφΛಈ͔ͤΔɻΫδϥͷϩΰ͕ΧϫΠΠɻ
    ˗EPDLFSDPNQPTF
    ɹɹˠEPDLFSίϯςφͷߏ੒؅ཧπʔϧɻ
    ɹɹɹͲ͏΍ͬͯEPDLFSίϯςφΛσϓϩΠ͢Δ͔ZNMͰఆٛͰ͖Δɻ
    ˗-9$
    ɹɹˠ-JOVYͰಈ͘ίϯςφϓϥοτϑΥʔϜɻ
    ɹɹɹEPDLFS΋ੲ͸͜ΕΛϕʔεʹ࣮૷͞Εͯͨɻ
    ˗IBDPOJXB
    ɹɹˠ-9$ͷߏ੒؅ཧπʔϧɻONSVCZ࣮૷ɻ
    ˗XBSEFO
    ɹɹˠ$MPVE'PVOESZͰར༻͞Ε͍ͯΔίϯςφϓϥοτϑΥʔϜɻ

    View full-size slide

  20. ίϯςφͷԠ༻ιϦϡʔγϣϯ
    ˗TXBSN
    ɹˠEPDLFS७ਖ਼ͷίϯςφΦʔέετϨʔγϣϯπʔϧɻ
    ɹɹEPDLFSϗετΛΫϥελϦϯάͰ͖Δɻ
    ɹɹΫδϥ͕ଟ͗ͯͪ͢ΐͬͱϠμɾɾɾ
    ˗LVCFSOFUFT
    ɹˠHPPHMF͕։ൃͨ͠ίϯςφΦʔέετϨʔγϣϯπʔϧɻ
    ɹɹ࣮૷͸EPDLFSɻϩΰ͕ඇৗʹ͔͍͍ͬ͜ɻ
    ˗0QFO4IJGU
    ɹˠ3FE)BUࣾͷLVCFSOFUFTσΟετϦϏϡʔγϣϯɻ
    ˗$MPVE'PVOESZ
    ɹˠίϯςφٕज़Λϕʔεʹͨ͠1BB4ιϦϡʔγϣϯɻ
    ɹɹ΋͸΍ίϯςφ͢Βҙࣝ͢Δඞཁ͕ͳ͍ɻ
    ɹɹ࣮૷͸XBSEFOɻϩΰ͕ෆؾຯɻ

    View full-size slide

  21. ˗࿅श༻ͷ-"#؀ڥʢQMBZXJUIEPDLFSʣ
    IUUQTMBCTQMBZXJUIEPDLFSDPN
    ˗EPDLFSͷجૅʢ2JJUBCZNPDIJ[VLJʣ
    IUUQTRJJUBDPNNPDIJ[VLJJUFNTDDDGBEDFGD
    ͝঺հ
    ໘ന͔ͬͨΓࢀߟʹͳͬͨͱ͍͏ํ͸
    ͍͍ͶԼ͍͞
    ࠓ΍ͬͯΔݕূ͕ऴΘͬͨΒ·ͨهࣄॻ͖·͢

    View full-size slide