コンテナで暮らそう / So everybody, just follow me

D12a80cab206033a820ccff8319f957b?s=47 Uryu Shinya
August 26, 2017

コンテナで暮らそう / So everybody, just follow me

D12a80cab206033a820ccff8319f957b?s=128

Uryu Shinya

August 26, 2017
Tweet

Transcript

  1. ࿩ ා ͍ ʹ ຊ ౰ ͋ ͬ ͨ

  2. ࿩ ා ͍ ʹ ຊ ౰ ͋ ͬ ͨ ೥

    ݄຤ ࢲ Ծ໊ 46 ͸ͱ͋ΔΠϕϯτͰߦΘΕΔϋϯζΦϯ ͷߨࢣΛ຿ΊΔ͜ͱʹͳ͍ͬͯͨɻ ࢿྉ͸࡞ͬͨɻ಄ͷதͰ༧ߦ࿅श΋ߦͬͨɻ ͍͘Β͔ͷෆ҆ཁૉ͸͋Δ͕ɺ͖ͬͱ͏·͍͘͘ɻ ʜ ͦ͏ࢥͬͯձ৔ʹ৐ΓࠐΜͩɻ ʮຊ೔͸ΑΖ͓͘͠ئ͍͠·͢ɻʯ ϋϯζΦϯ͕࢝·Δɻॳ৺ऀ޲͚ͷ಺༰ͳͷͰɺ ·ͣ͸ɺ΋Ζ΋ΖͷղઆΛߦ͍ɺ࣮ࡍʹखΛಈ͔ͯ͠ ΋Β͏ɻʵͦΜͳ಺༰Λࢲ͸༻ҙ͍ͯͨ͠ɻ
  3. ࿩ ා ͍ ʹ ຊ ౰ ͋ ͬ ͨ ʮͰ͸ύοέʔδΛΠϯετʔϧͯ͠Έ·͠ΐ͏ʯ

    ʮ͏ʔΜɺΠϯετʔϧͰ͖·ͤΜʯ ʮΤϥʔʹͳΔΜ͚ͩͲXʯ ʮ͊͘XͤESGUHZ;͜͡MQʯ ձ৔͕͟Θͭ͘ɻΠϯετʔϧͰ͖ͳ͍ ύοέʔδ͸ҰͭͰ͸ͳ͍Α͏ͩɻ install.packages("tidyverse") ढ͍ͷΑ͏ͳ୯७ͳίϚϯυɻ ͔͠͠ࢲ͕ݺͼग़ͯ͠͠·ͬͨͷ͸ʮѱຐʯͰ͋ͬͨɻ λολολολʜ ʢޮՌԻʣ ۦ͚ճΔࢲɻ༹͚͍ͯ࣌ؒ͘ɻ Πϯετʔϧ͕׬ྃ͠ɺ࣍ͷࢦࣔΛ଴ͭਓʑʜ
  4. ࢲ Ծ໊46 ͞Μͷࣦഊ͔ΒֶͿ͜ͱ ൃදऀͱࢀՃऀͰಉ͡؀ڥΛ࠶ݱ͢Δͷ͸ࠔ೉ 04 3ͷόʔδϣϯ ґଘϥΠϒϥϦ ίϯϐϡʔλ Ϧςϥγʔ ແཧ

  5. !ʢఱͷ੠ʣ ʮʜͳ͍ʜͳ͍ͳΒ࡞Δʜ ͦΕ͕ʜϗΫιΤϜͷ੤͍ͩͬͨ͸ͣʯ

  6. ͋Γ·ʔʔ͢"

  7. ؀ڥΛ࡞Ζ͏ ΦʔϓϯιʔεͷίϯςφܕԾ૝Խιϑτ΢ΣΞͷ1ͭ ܰྔͳԾ૝؀ڥ Πϯϑϥͷίʔυ؅ཧ %PDLFSΠϝʔδʹΑΔ؀ڥͷڞ༗ %PDLFSIVC͔ΒͷߏஙࡁΈ؀ڥͷར༻

  8. ؀ڥΛ࡞Ζ͏ 3ϢʔβͷͨΊͷ%PDLFS؀ڥ %PDLFSͷެࣜΠϝʔδ ৄࡉ͸IUUQOPUDIBJOFEIBUFOBCMPHDPNFOUSZ Λݟͯ͘Εʂ STUVEJPTFSWFSɺUJEZWFSTFɺHFPTQBUJBMͳͲͳͲ rocker

  9. #͓खܰ docker pull rocker/tidyverse docker run --rm -p 8787:8787 rocker/tidyverse

    ΠϝʔδΛऔಘͯ͘͠Δ ΠϝʔδΛ࣮ߦ͢Δ ϒϥ΢βͰ࡞ۀ͢Δ ΠϝʔδΛऴྃɾ୤ग़͢Δ
  10. ࢲ Ծ໊46 ͞ΜͷࣦഊΛ๷͙ 3ͷΠϯετʔϧ ࣄલ४උ 34UVEJPͷΠϯετʔϧɺઃఆ ύοέʔδͷΠϯετʔϧ ίʔυ͕ॻ͔ΕͨϑΝΠϧͷڞ༗ %PDLFSͷΠϯετʔϧ ౰೔ɺߦͬͯ΋Β͏΋ͷ

    EPDLFSQVMM SPDLFSͷΠϝʔδΛݩʹϋϯζΦϯ༻ͷEPDLFSpMFΛ࡞੒ ࣮ߦ͢Δίʔυ΋ؚ·ͤΔ $ ར༻͢Δύοέʔδ $
  11. #͕͋Ε͹҆৺ just follow me%%% ൃදऀ΋ࢀՃऀ΋ಉ͡؀ڥͰ࡞ۀ

  12. GLOBAL STANDARD ࢲ Ծ໊46 ͞Μͷ ࢀՃͨ͠Πϕϯτ IUUQTHJUIVCDPNCIBTLBSWLVTFSHFPEBUBWJ[ VTF3 IUUQTHJUIVCDPNPSQSPKFDUDPOUBJOFSJU %PDLFSؔ࿈ͷ3ύοέʔδ

    IUUQTHJUIVCDPNSPBETUBUMJGUS IUUQTHJUIVCDPNCIBTLBSWLEPDLFS
  13. Ͳ͜Ͱ࢖͑͹ ྑ͍ͷ&

  14. ͍Ζ͍Ζͳ؀ڥ͕͋Δͱخ͍͠ ൃදɾ࣮ԋ ύοέʔδ։ൃ σʔλ෼ੳ ؾʹͳΔύοέʔδͷ ಈ࡞֬ೝ Ұ࣌తͳར༻ IUUQSPQFOTDJMBCTHJUIVCJPSEPDLFSUVUPSJBM IUUQEJSLFEEFMCVFUUFMDPNQBQFSTS@BOE@EPDLFS@TFQQEG IUUQTXXXTMJEFTIBSFOFUUFSBNPOBHJSFQSPEVDFCJMJUZEPDLFS

    IUUQRJJUBDPNVSJJUFNTFCEEFFG
  15. !!!ʢఱͷ੠ʣ ʮʜͳ͍ʜͳ͍ͳΒ࡞Δʜ ͦΕ͕ʜϗΫιΤϜͷ੤͍ͩͬͨ͸ͣʯ

  16. ࡞Γ·ͨ͠'

  17. tiny_rocker https://github.com/uribo/tiny_rocker ԶʑSPDLFS֦ு TQBSL TQBSLMZSύοέʔδ΄͔  HFPTQBUJBM TGύοέʔδ΄͔  <8*1>ύοέʔδ։ൃ

    EFWUPPMT UFTUUIBU SMBOH΄͔  <8*1>TIJOZΞϓϦέʔγϣϯ։ൃ <8*1>CPPLEPXOCMPHEPXO <8*1>"1* QMVNCFSύοέʔδ΄͔ 3.F$BC '30.SPDLFSUJEZWFSTF IUUQZNBUUVIBUFOBCMPHDPNFOUSZ ଓ͖͸࣍ճͰ
  18. docker pull uribo/tiny_rocker_minimum docker run --rm -p 8787:8787 \ uribo/tiny_rocker_minimum

    #Enjoy#