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

Dockerアプリケーションのポータビリティを考える #dockerjp

Naoya Ito
April 11, 2014

Dockerアプリケーションのポータビリティを考える #dockerjp

Naoya Ito

April 11, 2014
Tweet

More Decks by Naoya Ito

Other Decks in Technology

Transcript

  1. ΍ͬͯΈͨ͜ͱ •  લఏ3VCZ 4JOBUSBͳ8FCΞϓϦ •  ࣮ߦ؀ڥ SVCZ΄͔ ͷϏϧυ   ඞཁόʔδϣϯͷSVCZ΍CVOEMFSͳͲΛ

    ༧ΊೖΕͨ%PDLFSΠϝʔδΛ࡞͓ͬͯ͘ ํࣜ   )FSPLVͷCVJMEQBDLͰΦϯσϚϯυʹ Ϗϧυ͢Δํࣜ •  %PLLVΈ͍ͨͳ σϞͬͨͷ͸ͷ΄͏
  2. #VJMEQBDL •  ΞϓϦέʔγϣϯͷ࣮ߦ؀ڥΛϏϧυ͢ ΔͨΊͷεΫϦϓτύοέʔδ – ΠϯλϑΣʔε͕ඪ४Խ͞ΕͯΔ •  CJOEFUFDUŋŋŋର৅ΞϓϦͷݴޠͳͲΛ൑ఆ •  CJODPNQJMFŋŋŋ࣮ߦʹඞཁͳ؀ڥΛϏϧυ – 

    ྫSVCZͷϏϧυɺCVOEMFJOTUBMMFUD •  CJOSFMFBTFŋŋŋΞϓϦέʔγϣϯ࣮ߦίϚϯυ ͷܾఆ –  IFSPLVIFSPLVCVJMEQBDLSVCZ IFSPLVIFSPLV CVJMEQBDLOPEFKT NJZBHBXBIFSPLVCVJMEQBDL QFSMͦΕͧΕʹͭͷεΫϦϓτ͕ೖͬͯΔ
  3. 1.  アプリ を   git  push 2.  post-­‐update  hoook  で

      docker  run   3.  コンテナ起動 4.    アプリを  git  clone (※cloneじゃなくpushにしたい)