YAPC::ASIA Hachioji 2016 mid in Shinagawa
YAPC::ASIA Hachioji 2016 mid in Shinagawa
2014å¹´ã¯é常ã«Dockerãçãä¸ãã£ã1å¹´ã§ãããã Dockerã¯2013å¹´ã®å¤ãããã注ç®ãéãã¯ããã¾ããããã®å¾ãã¼ã¸ã§ã³ã0.9ã¨ãªã£ã2014å¹´ã®æ¥ããããããã«æ³¨ç®ãéããããã«ãªãããã以éã¯ãã¾ãã¾ãªãµã¼ãã¹ããã³ãã¼ãDockerããµãã¼ãããããDockeré¢é£ã®ãããã¯ããåºããããããã¥ã¼ã¹ãé§ãå·¡ã£ãæ°ããã¾ãã Dockerã«é¢ä¿ããåå¼·ä¼ãæ°å¤ãéå¬ãããããã«ãªããDocker Meetup Tokyoãªã©ã¯åéãå§ã¾ã£ãé端ã«å®å¡ã«éããã¨ããæ´»æ³ã¶ãã§ããã Dockerã¯ãã³ã³ããæè¡ããã®ãã®ã§ã¯ãªããDockerããããããã¨ãå®ç¾ããããã®æè¡è¦ç´ ã®1ã¤ã¨ãã¦ã³ã³ããã使ã£ã¦ãã¾ãããã®Dockerã®çãä¸ããã¨å ±ã«ããã¾ã§ã©ã¡ããã¨ããã¨ãã¤ãã¼ãªæè¡ã§ãã£ããã³ã³ãããã2014å¹´ã«ã¯é常ã«æ³¨ç®ãããæè¡ã¨ãªãã¾ããã å®éãçè ã主
ååã¯ãLinuxã§ä½¿ããã³ã³ããã®å®è£ ã説æãããã¨ãLXCã使ã£ã¦ç°¡åã«ã³ã³ããã®ä½æãèµ·åãåæ¢ãè¡ããã¨ãããç´¹ä»ãã¾ãããä»åã¯ããã®ã³ã³ããã®ä»çµã¿ãç°¡åã«èª¬æãããã®ä»çµã¿ããããã¡ãªããã»ãã¡ãªãããç´¹ä»ããå¾ãã³ã³ããã¯ã«ã¼ãã«ã®ã©ã®ãããªä»çµã¿ã使ã£ã¦åä½ãã¦ããã®ããç°¡åã«èª¬æãã¦ããããã¨æãã¾ãã ã³ã³ããã®ä»çµã¿ ã³ã³ãããã¾ã 使ã£ããã¨ããªãæ¹ã§ããVMwareãVirtualBoxãKVMã¨ãã£ãä»®æ³ãã·ã³ï¼VMï¼ã使ã£ããã¨ã¯ããã¨ããæ¹ã¯å¤ãã®ã§ã¯ãªãã§ãããããã¾ãã¯VMã¨ã®æ¯è¼ãããªãããã³ã³ããã®ä»çµã¿ã説æãã¦ã¿ã¾ãããã å³1ãVMã¨ã³ã³ããã®ä»çµã¿ï¼1ï¼ä»®æ³ãã·ã³ VMã§ã¯å³1ã®ããã«ãã³ã³ãã¥ã¼ã¿ã®ä¸ã§åãOSãVMãå®ç¾ããããã®ãã¤ãã¼ãã¤ã¶ã®ä¸ã§ãå®éã®ãã¼ãã¦ã§ã¢ãã¨ãã¥ã¬ã¼ãããVMãåãã¾ããã¤ã¾ãå®éã®ç©ççãªã³ã³ãã¥ã¼ã¿ã¨å
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? Docker ã¯ãã LXC ãåçºæãã¦ããããã§ã¯ãªãã¨ããã話ãDotCloud ã®ãã¡ã¦ã³ãã¼ã«ãã stackoverflow ã®è³ªåã¸ã®åçã LXC ã¯ãã¼ã ã¹ãã¼ã¹ãã³ã³ããã¼ã«ã°ã«ã¼ãçã® Linux ã«ã¼ãã«ã±ã¼ãããªãã£æ©è½ãå©ç¨ããããã»ã¹ãä»ã®ããã»ã¹ãããµã³ãããã¯ã¹åãããããããã»ã¹ã¸ã®ãªã½ã¼ã¹ã®å²å½ã¦ãã³ã³ããã¼ã«ãã¦ãããDocker ã¯ãã®ãã¼ã¬ãã«ã®ã«ã¼ãã«æ©è½ã軸ã«ã以ä¸ã®ãããªæ©è½ãæä¾ãã¦ããã LXC ã«å¯¾ã Docker ãæä¾ãã¦ããæ©è½ ã©ããªãã·ã³ã¸ããã¼ã¿ãã«ãããã¤å¯è½ Doc
ããã«ã¡ã¯ãéç¨é¨ ã¢ããªéç¨ã°ã«ã¼ãã®æ¸ æ°´ã§ããGolangéæåå¼·ä¸ã§ãã ä»åã¯ãSNSãmixiãã«éã£ã話ã§ã¯ãªãããã¯ã·ã£ç¤¾å ¨ä½ã¨ãã¦å©ç¨ãã¦ããä»®æ³ç°å¢ã«ã¤ãã¦ç´¹ä»ãããã¨æãã¾ãããããªãã¯ã¯ã©ã¦ããä¸é¨ã®ãµã¼ãã¹ã§å©ç¨ãã¦ãã¾ãããä»åã¯ãèªç¤¾ã§éç¨ãã¦ããä»®æ³ç°å¢ã«ãã©ã¼ã«ã¹ãã¦æ¸ãã¦ã¿ããã¨æãã¾ãã ä»ã¾ã§å©ç¨ãã¦ããä»®æ³ç°å¢ ä»ã¾ã§å©ç¨ãã¦ããä»®æ³ç°å¢ã¨ããã¨ãæä½æ¥ã§æ§ç¯ããKVMï¼Kernel-based Virtual Machineï¼ç°å¢ãä¸å¿ã§ãããæä½æ¥ã¨ãã£ã¦ãããç¨åº¦æ軽ã«æ§ç¯ã§ããããã«ãã·ã§ã«ã¹ã¯ãªããã¨Cobblerã§VMãæ§ç¯ã§ããããã«ãªã£ã¦ãã¾ããæ§ç¯ã®æµãã¯ä»¥ä¸ã®ã¨ããã§ãã Cobblerã«VMã®IPããã¹ãåãªã©ãã¹ã¯ãªããã§ç»é²ããã KVMã®ãã¹ãä¸ã§ã¹ã¯ãªãããå®è¡ï¼koanã³ãã³ãã§Cobblerã¨é£æºãã¦VMãã»ããã¢ã
2æ21æ¥ãLinuxåãã®ä»®æ³åã½ããã¦ã§ã¢ãLXCï¼Linux Containersï¼ 1.0ãããªãªã¼ã¹ããããããã¸ã§ã¯ãã®Webãµã¤ããããã¦ã³ãã¼ãã§ããã LXCã¯Linuxã·ã¹ãã ä¸ã«è¤æ°ã®éé¢ãããOSç°å¢ï¼ã³ã³ããï¼ãæ§ç¯ããããã®ã½ããã¦ã§ã¢ãAPIããã¼ã«ãæä¾ãããç°¡åã«ã¢ããªã±ã¼ã·ã§ã³ã³ã³ããã®ä½æã管çãè¡ããã LXC 1.0ã¯ãéè¦ãªãã¤ã«ã¹ãã¼ã³ãªãªã¼ã¹ãã¨ããä½ç½®ä»ãã§ãã¾ãæ¥åç¨éã¨ãã¦å©ç¨ã§ããå質ãæã¤åãã¦ã®ããããã¯ã·ã§ã³ãªãªã¼ã¹ãã«ãªãã¨ãããä»åã®ãªãªã¼ã¹ã®ç¹å¾´ã¨ãã¦ã¯ã³ã³ããã»ãã¥ãªãã£ã®å¼·åããä¸è²«æ§ã®ããAPIããã³ããã¥ã¡ã³ãããã¼ã«ã»ãããªã©ã®æä¾ãããã LXC 1.0ã§ã¯éç¹æ¨©ã³ã³ãããå®å ¨ã«ãµãã¼ããããã»ããAPIããå®å®çãã¨ãªã£ããluaãPython 3ãGoãRubyåãã®å ¬å¼APIãã¤ã³ãã£ã³ã°ãæä¾ããããã
Note: you should check the following presentation instead. http://www.slideshare.net/jpetazzo/docker-linux-containers-lxc-and-security It contains in-depth, up-to-date material about the topic. Original description follows. It is often told that Linux Containers (LXC) are not secure. This was definitely true 3 years ago, but they got much better. Here is a quick overview of current challenges, as
æè¿Dockerããããã触ã£ã¦ã¿ã¦ãã¦ä»¥ä¸ã®æ§ãªè¨äºãæ¸ããããã¾ããã Dockerã§ç«ã¦ãã³ã³ããã«sshã§æ¥ç¶ãã - $shibayu36->blog; serfã¨Dockerã§ã¯ã©ã¹ã¿ãçµãã§ã¿ã - $shibayu36->blog; æ¬çªç°å¢ã®Blue-Green Deploymentã®ä»çµã¿ã®ãããã¿ã¤ããä½ã£ã¦ãã - $shibayu36->blog; Docker, Mesos, Sensuçãå©ç¨ããBlue-Green Deploymentã®ä»çµã¿ - $shibayu36->blog; 社å ç¨Docker Registryãç«ã¦ã - $shibayu36->blog; docker commitã§CMDãENVãªã©ãæå®ãã - $shibayu36->blog; docker inspectã§Dockerã³ã³ããã®æ å ±ãåå¾ãã - $shibayu36-
ã¡ãã£ã¨åãã Docker ã使ã£ã¦ããã®ã§ããã®è©±ã Dockr ã«ã¤ã㦠Docker 㯠dotcloud ããªã¼ãã³ã½ã¼ã¹ã§å ¬éãã¦ãããã³ã³ããæè¡ã«ããä»®æ³åã½ããã¦ã§ã¢ã 以ä¸ã®ãã¯ããã¸ã¼ãã¼ã¹ã«ãã¦ãã: LXC åã«ãæ¸ãããXen ã¨ã VirtualBOX ã¿ããã«ãã¹ãå ã«ä»®æ³ãã·ã³ãç«ã¡ä¸ããããããªãã¦ããã¹ãå ã®éé¢ãããç°å¢ã§ä»®æ³ãã·ã³ãåããæè¡ãç©çãã·ã³ãã·ãã¥ã¬ã¼ã·ã§ã³ãã¦ããããããªãã£ã¦ãã¨ã¯ãVPS ã¨ã EC2 ã¨ãã®ä»®æ³ãã·ã³ä¸ã§ãåé¡ãªãåããããã·ã³ãèµ·åããããã»ã¹ãä¸è¦ã¨ãªãã®ã§ãä¸ç¬ã§ä½¿ãå§ããããã¨ããã¡ãªããã«ã¤ãªãã£ã¦ããã AUFS UnionFS(ãã£ã¬ã¯ããªãéãåããããã¨ãã§ãã)ã®å®è£ ã®ä¸ã¤ãå ã®ä»®æ³ãã·ã³ã¤ã¡ã¼ã¸ãæ¸ãæããªãã§ãæ´æ°ãçºçããé¨åã¯å¥ã®å ´æã«æ¸ãè¾¼ãã§ããããã«ãªã£ã¦ãããããã«ãããä»®æ³
Continuous Integration at Etsy As Etsy continues to grow and hire more developers, we have faced the continuous integration scaling challenge of how to execute multiple concurrent test suites without slowing the pace of our deploy queue. With a deployment rate of up to 65 deploys / day and a total of 30 test suites (unit tests, integration tests, functional tests, smokers...) that run for every de
æ©è½ããµã¼ãã¹ãã¨ããããã¯ãµã¤ããã¨ã«ã¤ãã¤ããããã¤ãã®VPSãåãã¦ãã¾ã£ã¦ã¯ãã¾ãããï¼ åããããªãã§ããç°å¢ã¯ãäºãã«ç¬ç«ãã¦ãããã»ããå¾ã è¯ãã¨ããèãã®ãã¨ããããã®VPSããµã¼ãã¹ãã¨ã«åãã¦ãã¾ãããã¤ã®ã¾ã«ãè«æ±é¡ãé«ããªã£ã¦ããã¨ããã®ã¯ããããããã¨ã§ããããã¾ãããï¼ ä¼ç¤¾ã§ãã¤ãåãã¾ãã£ã¦æ¯æã®è«æ±ãï¼ä¸ã¨ãã«ãªã£ã¦ã¦æ²ããã§ãã¾ãã ä»åãå人çã«åãã¦ãã3å°ã®VPSã1å°ã«éç´ãããã¨æãã¾ããã å代ã®ããããã®VPS512ãã¨ãããã©ã³ã3ã¤ã§2940åæãã£ã¦ãã¾ããããããããã®VPS ç³ç©ãªã¼ã¸ã§ã³ 2G v3ãã®åæè²»ç¨ç¡æãæé¡1480åã«ç¯ç´ãããã¨æãã¾ãã æè¿ã§ããConoHaãªã©ãå¥ã«ãããã®VPSã«éããä»ç¤¾ã®KVMãªVPSã§ãããã¨æãã¾ãã CloudCore CV01ã¯ã¡ãã£ã¨å²é«ã«æããã®ã§ãããããConoHaãã
2. æ ªå¼ä¼ç¤¾Joe'sã¦ã§ããã¹ãã£ã³ã° æ¦è¦ â è¨ç«ã2002å¹´7æãè³æ¬éã1000ä¸å â 大éªæ¬ç¤¾ãJoeâs ITãµãã³ æ¢ ç°, Joeâsãã¸ãã¹ã»ã³ã¿ã¼ æ¢ ç° â ã530-0001 大éªåºå¤§éªå¸ååºæ¢ ç°1ä¸ç®11çª4-923å· å¤§éªé§ å第4ãã«9é â é座ãªãã£ã¹ Joeâs ITãµãã³ é座, Joeâsãã¸ãã¹ã»ã³ã¿ã¼ é座 â ã104-0061 æ±äº¬é½ä¸å¤®åºé座1-3-3ãG1 ãã«ã7é â åéå±±ãªãã£ã¹ Joeâsãã¸ãã¹ã»ã³ã¿ã¼ éå±± â ã107-0062 æ±äº¬é½æ¸¯åºåéå±±2-11-13 åéå±±ãã«4é â å½¹å¡ã代表åç· å½¹ CEOãé´æ¨ç¦åãåç· å½¹ CTOãå±±æ¬æ¿ç§ â åç· å½¹ æµ·å¤é¨ãé´æ¨æ人ãå·è¡å½¹å¡ãç·æ¹ä¿è¼ â å¾æ¥å¡æ°ã17å â äºæ¥å 容 â ã¯ã©ã¦ã/ã¦ã§ããã¹ãã£ã³ã°äºæ¥ â æ å ±ã»ãã¥ãªãã£äºæ¥ â çµå¶æ¯æ´äºæ¥ 2 2 3. äº
2013å¹´6æ7æ¥ 22:04æ´æ°ï¼ Upstartã®ããã©ã«ãã®è¨å®ãã¡ã¤ã«ãæ¸ãæããªãæ¹æ³ã«å¤æ´ãã¾ãããhitoãããããã¨ããããã¾ãã lxcãªã©ã®ãã¼ã¸ã§ã³ãè¨è¼ãã¾ããã ã¯ããã« Chefã使ã£ã¦ããã¨ãå½¹å²ããµã¼ãã¹ãã¨ã«ç°å¢ãåé¢ããããªãã¾ãã ããããå人ã¬ãã«ã§å¤§ãã¦ãã©ãã£ãã¯ããªã段éã§ããµã¼ãã¹ãã¨ã«ä»®æ³ãµã¼ãã¼ãåãã¦ãã¦ã¯ãéã足ãã¾ããã ããã§ãå®ä¾¡ãªVPSä¸ã§Linux Container (LXC) ã使ããã¨ã§ãè¤æ°ã®ãµã¼ãã¼ãä½ãã¾ãã ã¹ã±ã¼ã«ããããªã£ãã¨ãã¯ãã³ã³ãããæ½°ãã¦ãæ°ããä»®æ³ãµã¼ãã¼ãåãã¦Chefã§åæ§ã®è¨å®ãããã°æ軽ã«ã¹ã±ã¼ã«ã§ããã¨èãã¦ãã¾ãã Heroku使ãã°ï¼ã¨è¨ãããããããã¾ããããè²ã ãªããã«ã¦ã§ã¢ãå©ç¨ããããããã¯ã°ã©ã¦ã³ãã§å¦çããããã¨ããã¨ããã¡ã¾ã¡ãéããããã®ã§ãVPSããããããã¦éã³
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}