ä»åããã¯LXCãã³ã³ããã¤ã¡ã¼ã¸ãç½®ãé åã«ä½¿ãããããããªã¹ãã¬ã¼ã¸ããã¯ã¨ã³ããå©ç¨ããLXCã便å©ã«ä½¿ãæ¹æ³ãç´¹ä»ãã¦ããã¾ãã LXCã§ãããããªã¹ãã¬ã¼ã¸ããã¯ã¨ã³ããå©ç¨ããæ¹æ³ãç´¹ä»ããåã«ãä»å¾ã³ã³ããã§ã®å©ç¨ãå¢ããããªã3.18ã«ã¼ãã«ã§æ°ãã«è¿½å ãããoverlayfsã«ã¤ãã¦ç´¹ä»ãã¦ããã¾ãããã ã¿ã¤ãã«ã¯ãLinuxã«ã¼ãã«ã®ã³ã³ããæ©è½ãã¨ãã¦ãã¾ãããããã¾ã§ã®æ©è½ã¨åæ§ã«overlayfsãã³ã³ããå°ç¨ã¨ãã¦ä½¿ãæ©è½ã§ã¯ããã¾ãããåå空éãCgroup以ä¸ã«ã³ã³ãã以å¤ã§ãã¾ãã¾ãªã·ã¼ã³ã§ä½¿ãããã§ããã overlayfsã¨ã¯ overlayfsã¯union filesystemã®å®è£ ã®1ã¤ã§ããã£ã¬ã¯ããªãéãåããã¦1ã¤ã®ãã£ã¬ã¯ããªããªã¼ãæ§æã§ãã¾ãã 話é¡ã®Dockerãæã¤ç¹é·ã¨ãã¦ãããã³ã³ããã¤ã¡ã¼ã¸ã®å·®å管çãã§ãããã¨ãæãããã¾
ã³ã³ããã«é¢ä¿ãã主è¦ãªæ©è½2ã¤ã®èª¬æãæ¸ãã ã®ã§ãä»åã¯LXCã§ä½¿ããããã¨ãå¤ããããã¯ã¼ã¯é¢é£ã®æ©è½ãç´¹ä»ãã¾ãããã ã³ã³ããã¨ãããã¯ã¼ã¯åå空é ã³ã³ããã§ã®ãããã¯ã¼ã¯ã®ä½¿ç¨ã¨å¯æ¥ã«é¢ä¿ããã®ã第2åã§ç´¹ä»ãããããã¯ã¼ã¯åå空éã§ãã ã³ã³ããã§ãããã¯ã¼ã¯ã使ç¨ããå ´åãä¸è¬çã«ã¯ãããã¯ã¼ã¯åå空éãä½æãã¾ããããã¦ããã¹ãä¸ã«åå¨ãããããã¯ã¼ã¯ã¤ã³ã¿ã¼ãã§ã¼ã¹ããä½æãããããã¯ã¼ã¯åå空éã«å²ãå½ã¦ã¾ããããããã¨ããã¹ããä»ã®ã³ã³ããããã¯è¦ããªããã³ã³ããããã ãè¦ãããããã¯ã¼ã¯ã¤ã³ã¿ã¼ãã§ã¼ã¹ã¨ãªãã¾ãã ãã¡ããããããã¯ã¼ã¯åå空éãä½ããªãã¦ãã³ã³ããã¯ä½ãã¾ããããããã·ã¹ãã ã³ã³ããã使ãå ´åãæè¿ã¯upstartãsystemdã¨ãã£ãã½ã±ããã使ç¨ããinitã使ããããã¨ãå¤ãã®ã§ããããã¯ã¼ã¯åå空éããã¹ãã¨åãã¦ããã®ãæ®éã§ãã
2014å¹´ã¯é常ã«Dockerãçãä¸ãã£ã1å¹´ã§ãããã Dockerã¯2013å¹´ã®å¤ãããã注ç®ãéãã¯ããã¾ããããã®å¾ãã¼ã¸ã§ã³ã0.9ã¨ãªã£ã2014å¹´ã®æ¥ããããããã«æ³¨ç®ãéããããã«ãªãããã以éã¯ãã¾ãã¾ãªãµã¼ãã¹ããã³ãã¼ãDockerããµãã¼ãããããDockeré¢é£ã®ãããã¯ããåºããããããã¥ã¼ã¹ãé§ãå·¡ã£ãæ°ããã¾ãã Dockerã«é¢ä¿ããåå¼·ä¼ãæ°å¤ãéå¬ãããããã«ãªããDocker Meetup Tokyoãªã©ã¯åéãå§ã¾ã£ãé端ã«å®å¡ã«éããã¨ããæ´»æ³ã¶ãã§ããã Dockerã¯ãã³ã³ããæè¡ããã®ãã®ã§ã¯ãªããDockerããããããã¨ãå®ç¾ããããã®æè¡è¦ç´ ã®1ã¤ã¨ãã¦ã³ã³ããã使ã£ã¦ãã¾ãããã®Dockerã®çãä¸ããã¨å ±ã«ããã¾ã§ã©ã¡ããã¨ããã¨ãã¤ãã¼ãªæè¡ã§ãã£ããã³ã³ãããã2014å¹´ã«ã¯é常ã«æ³¨ç®ãããæè¡ã¨ãªãã¾ããã å®éãçè ã主
ã ãã¶åããDockerï¼Linuxã³ã³ããï¼ã®ããã©ã¼ãã³ã¹ã«ã¤ãã¦ãéããã¨ã¯éãã ãããã©ã©ã®ç¨åº¦éãã®ããããé ããã¨ããããªãä½ãããã©ã¼ãã³ã¹ã«ã¨ã£ã¦éè¦ãªã®ãï¼AUFSãé ãã¨ãããããã®ï¼ãæ°ã«ãªã£ã¦ããã®ã§ãä»å㯠ã§ç´¹ä»ããã¦ãã Docker ã®ããã©ã¼ãã³ã¹æ¤è¨¼ã«é¢ãã IBM ã® Research Report ãèªãã ãReport ã®å 容ããã¼ã¹ã«ãDocker ã®ããã©ã¼ãã³ã¹ã®åæãªã©ãã¾ã¨ãã¦ã¿ãã Report ã®ã¿ã¤ãã«ã¯ An Updated Performance Comparison of Virtual Machines and Linux Containers ã GitHub ã«ãã³ããã¼ã¯ã³ã¼ãã¨å®é¨ãã¼ã¿ãç½®ãã¦ãã£ã¦ã¡ããã¨ãã¦ãã åæ ã¾ããVMã¨ã³ã³ããã®æ´å²ãæ¯ãè¿ãã®ã«ç¥ãã¬ã¯ã¨ã³ã¸ãã¢ã®æ¥ãä»ããèããªããã³ã³ãã/ä»®æ³
Photo by Sam MacCutchan ã©ããå¾è¤ã§ãï¼ ãã10年以ä¸ã«ãªãã§ãããã・・・ãã¨ã«ãããªãã§ãããã§ãä»®æ³åããã°ããã¨ãããã®é¢¨æ½®ãpaizaã§ãä»®æ³åæè¡ã¯å¤§æ´»èºä¸ãã¤ã³ãã©ã¯ä»®æ³åæè¡ã®ä¸ã«æ§ç¯ããã¦ãããããã¡ããã³ã¼ãã®è©ä¾¡ç°å¢ã ã£ã¦ã°ãã°ãã®ä»®æ³ç°å¢ä¸ã§ããä»®æ³ç°å¢ã°ã£ã¡ãã¼ãï¼ ãã£ãããã¤ãããããªæµãã«ãªã£ããã§ãããï¼ã©ãã«åºæºãæ±ãããã§ã ãã¶ãããã¾ãããã©ããå·çç¾å¨ããèããã¨ãããããæµãã«ã¯35å¹´ãããã®æ´å²ãããã¾ãã使ãããä»®æ³åæè¡ã¯æ代ã¨ã¨ãã«ããã£ã¦ãã¾ãããã ãããã©ã®æ代ã«ãæµè¡ã£ã¦ãã®ãããã¾ããã æè¿ï¼2014å¹´ããï¼ã®æµè¡ã¨ãã°ãã¤ã³ãã©ã®ä¸çªä¸ã«ãã¤ãã¼ãã¤ã¶ãå ¥ãã¦ããã®ä¸ã§Dockerãåããã¦ã管çã«ã¯ChefãPuppetã使ãã¨ãã£ããã®ã§ããæ°å¹´çµã¦ã°ç¶æ³ã¯å¤ããã§ãããããã©ããã¨ã«ãã楽ããã
ã¯ããã« ã¿ãªãã¾ãã¯ããã¾ãã¦ãå è¤ã¨ç³ãã¾ããæè¿æ³¨ç®ãéãã¦ããä»®æ³åæè¡ã®ãã³ã³ãããã«é¢ããé£è¼ãå§ãããã¨ã«ãªãã¾ããããããããé¡ããããã¾ãã ã³ã³ãã¥ã¼ã¿ã®æ§è½ãåä¸ããä»®æ³åã¨ããè¨èãä¸è¬çã«ãªãã¾ãããå¾æ¥ã¯VPSçã®ãµã¼ãã¹ãIaaSãã¯ã©ã¦ãã¨ãã£ããã¼ã¯ã¼ãã¨å ±ã«èªããããã¨ãå¤ãã£ãä»®æ³åã§ãããæè¿ã§ã¯éçºè èªèº«ã®PCä¸ã§ä»®æ³åã使ã£ã¦ãã¹ãç°å¢ãä½æãã使ãçµãã£ããæ¶å»ããã¨ãã使ããæ¹ãå¢ããä»®æ³åæè¡ãæ±ãã¨ã³ã¸ãã¢ããã¤ã³ãã©ã¨ã³ã¸ãã¢ããã¢ããªéçºè ã¾ã§åºããªãã¾ããã ã¾ããå¾æ¥ã¯ä»®æ³çãªãã·ã³ãã³ã³ãã¥ã¼ã¿ä¸ã§å®ç¾ããVMwareãHyper-VãKVMã¨ãã£ãæè¡ã話é¡ã«ãªããã¨ãå¤ãã£ããã¨ã«å¯¾ããæè¿ã§ã¯Immutable Infrastructureã¨ãã£ããã¼ã¯ã¼ãã¨å ±ã«ãã³ã³ãããã話é¡ã«ãªããã¨ãå¢ãã¾ããããâ ã³ã³ãããã¨ã¯
ãã¼ã¿ã»ã³ã¿ã¼ãã¯ã©ã¦ãã¨ãã£ãITåéã«èº«ãç½®ãã¦ããã®ã§ããã°ãã³ã³ããã¨ããä¸è¬å称ã¨ããDockerãã¨ãããã®å ·ä½çãªè£½åå称ã1年以ä¸ã«ããã£ã¦åæã§è¦èããã¦ãã¦ããã¯ãã ããã®è©±é¡æ§ã¯ã6æã«ãªãªã¼ã¹ãããDockerã®ãã¼ã¸ã§ã³1.0ã§ããã«é«ã¾ã£ã¦ããã ãããã£ã話é¡æ§ã®é«ã¾ãã¯ãä¼æ¥ãé©ãã¹ããã¼ã¹ã§Dockerãå°å ¥ãã¦ããããããããçè ã¯7æã«éå¬ããããªã¼ãã³ã½ã¼ã¹ã«ã³ãã¡ã¬ã³ã¹ãOSCONãã«åå ãã¦ãèªç¤¾ã®ãµã¼ãã¢ããªãä»®æ³ãã·ã³ï¼VMï¼ããã³ã³ããã«è¼ãæ¿ãã¦ããä¼æ¥ãæ°å¤ãããã®ãå®æãããå®éãDockerã®ãµã¼ãã¹ããã³ãµãã¼ãæ å½ãã¤ã¹ãã¬ã¸ãã³ãã®James Turnbullæ°ã¯ãåã«ã³ãã¡ã¬ã³ã¹ã®å ´ã§çè ã«å¯¾ãã¦ãDockerã試é¨çã«å°å ¥ãã¦ããæ大æã®éè¡ã®ãã¡3è¡ãæ¬çªç°å¢ã«ç§»è¡ããã¨èªã£ããã©ã®ãããªæè¡ã§ãã£ã¦ãããã¼ã¸ã§ã³1.0
Linuxã³ã³ããã®å®è£ ã®1ã¤ã¨ãã¦ç¥ãããDocker Engineã¯ãDocker Engineä¸ã«æ§ç¯ããã¢ããªã±ã¼ã·ã§ã³ç°å¢ããã¼ãPCããä»®æ³åããããµã¼ããã¯ã©ã¦ãã¾ã§ãã©ãã§ãåãããã«åç¾ã§ãã軽éãªãã¼ã¿ããªãã£ã大ããªç¹é·ã®1ã¤ã§ãã ãããå¤ãã®ãµã¼ãã¢ããªã±ã·ã§ã³ã§ã¯ãWebãµã¼ãã¨ãã¼ã¿ãã¼ã¹ãµã¼ããªã©è¤æ°ã®ã¢ããªã±ã¼ã·ã§ã³ãç¸äºã«ä¾åãã¤ã¤é£ä¿ããã·ã¹ãã ã¨ãªã£ã¦ããã®ãç¾å®ã§ããDockerãç¨ãã¦ããããã·ã¹ãã ãéçºããã¹ããéç¨ããã«ã¯ãè¤æ°ã®ã³ã³ããã1ã¤ã®ã·ã¹ãã ã¨ãã¦ä¾åé¢ä¿ããããã¯ã¼ã¯æ§æãªã©ãå«ãã¦è¨è¿°ããã¾ã¨ãã¦æ§æãã¦ããããã¼ã«ãããã¨ãã便å©ãªã¯ãã§ãã Figã¯ãã«ãã³ã³ããã®æ§æãã¼ã« Docker社ãè²·åãçºè¡¨ããOrchard社ã®ãã¼ã«ãFigãã¯ãããããDockerç°å¢ã«ããããã«ãã³ã³ããã®ç¶æ ãè¨è¿°ããæ§æãã¦ãããã
CodeZineç·¨éé¨ã§ã¯ãç¾å ´ã§æ´»èºãããããããã¼ãã¹ã¿ã¼ã«ããããã®ã«ã³ãã¡ã¬ã³ã¹ãDevelopers Summitãããã¨ã³ã¸ãã¢ã®çããã¾ããã¼ã¹ãããããã®ã¤ãã³ããDevelopers Boostããªã©ããã¾ãã¾ãªã«ã³ãã¡ã¬ã³ã¹ãä¼ç»ã»éå¶ãã¦ãã¾ãã
ã¯ã©ã¦ãã渡ãæ©ãï¼ããããÃãããã£ãååãã³ãºãªã³åå¼·ä¼ï¼ï¼ 2014å¹´7æ19æ¥(å)éå¬ã®ãDockerãã³ãºãªã³ç¨ã®è³æã§ãã ãã³ãºãªã³ã®æµã ç®ç å®éã« docker ã®ã¤ã³ã¹ãã¼ã«ãããã³ã³ããã®ä½æã»ç®¡çããã¯ã©ã¦ãéã®ç§»è¡ãåºæ¥ãããã«ã å 容 ããã㣠⦠Ubuntu 12.04 ã« Docker ãã»ããã¢ãã ããã ⦠CentOS 6.5 ã« Docker ãã»ããã¢ãã ã³ã³ãããä½æããç¸äºã«ç§»å éçã³ã³ãã³ãç·¨ ( Apache + HTML ãã¡ã¤ã« ) åçã³ã³ãã³ãç·¨ ( Apache + PHP + PukiWiki ) 1. Docker ã®ã»ããã¢ãã(Ubuntu/ãããã£ã¯ã©ã¦ãç·¨) 1.1. ãããã£ã¯ã©ã¦ãã«ãã°ã¤ã³ 対象ãµã¼ãã« SSH ã§ãã°ã¤ã³ãã¾ããLinux kernel ã®ãã¼ã¸ã§ã³ãå¤ãçºããã¼ã¸ã§ã³ã¢ããããã¾ã
From Docker Meetup Tokyo yuguiãããææããããã«ãDockerã«ã¯2ã¤ã®ã¡ãªãããããã ã³ã³ããæè¡ å·®åãã£ã¹ã¯ã¤ã¡ã¼ã¸ã®ã½ã¼ã·ã£ã«ãªã·ã§ã¢ ãããã®ãã¡ãå¾è ã«ã¤ãã¦ã¯Dockerã触ã£ããã¨ã«ããæ¹ãªãããã«ç解ã§ããã ãããDockerãæ®åããæ大ã®è¦å ãããã¦Dockerãæ°ããã£ãç¹ã¯ãå·®åã¤ã¡ã¼ã¸ã®ã·ã§ã¢ããã£ãã·ã¥ã«ãããã«ãä½æ¥ã®ç°¡åãã§ãããã¾ã£ãããªç¶æ ããã¢ããªã±ã¼ã·ã§ã³ã¹ã¿ãã¯ãæ§ç¯ããä½æ¥ãããçãæéã§è¡ããç°å¢æ§ç¯ã®ã¹ã¯ã©ãã&ãã«ããã¨ã¦ã容æã«ãªãã ãããã大æå社ãçªå¦ã¨ãã¦Dockerçéã«åå ¥ãå§ããè¦å ã¯ãããã ãã§ã¯ãªãããã®Dockerã®ãã«ãã®ä¾¿å©ããéãã¦ããã³ã³ããæè¡ã«å¯¾ããä¸éã®ãªãã©ã·ã¼ãããã¨é«ã¾ã£ããã¨ããããã¬ã¼ã¯ã¹ã«ã¼ãªã®ã§ãããã¿ããªãDockerã«è§¦ãå§ãããã¨ã§ããã®ã³ã³ããã®ä¾¿
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}