ã³ã³ãã管çã½ãããDockerããä»ãªã注ç®ããã¦ããã®ããããããã¸ãã¹ã«ã©ã®ãããªå¤é©ãããããã®ããå¤è³æ¿ç´ã解説ããã
ã³ã³ãã管çã½ãããDockerããä»ãªã注ç®ããã¦ããã®ããããããã¸ãã¹ã«ã©ã®ãããªå¤é©ãããããã®ããå¤è³æ¿ç´ã解説ããã
Dockerã¯2013å¹´ã«ç»å ´ãã¦ä»¥æ¥ãæ¥éã«æ®åãé²ãã§ããä»®æ³åã½ããã¦ã§ã¢ã®ä¸ã¤ã§ãããä¸ä½Dockerã¨ã¯ã©ããããã®ãªã®ãï¼ãã«ã¤ãã¦ç°¡åã«ã¾ã¨ãã¾ããã Docker - Build, Ship, and Run Any App, Anywhere https://www.docker.com/ Dockerãç解ããã«ã¯ãDockeréçºè ã®Solomon Hykesæ°ã®è¬æ¼ã ã¼ãã¼ãåèã«ãªãã¾ãã Introduction to Docker - YouTube ä¸å³ã®ä¸ååã«ããããã«ãç¾ä»£ã«ããã¦ã¯æ¨ç®±ããè»ããã¢ãã¾ã§å¤§å°ãã¾ãã¾ãªç©ã輸éããã¦ãã¾ããå¤æ§ãªç©ã輸éããã¦ããã ãã§ãªããä¸å³ã®ä¸ååã®ããã«ç©ãéã¶ããã®æ段ããã©ãã¯ããééãè¹è¶ãªã©ãã¾ãã¾ã ãã©ã®æ段ã§ä½ãéã¶ã®ãããèãã¦ããã¨ç¡æ°ã®çµã¿åãããåå¨ãã¦ãã¾ããããªããªããªã£ã¦ãã¾ãã¾ãã
é·ãã®ãã¯ããã«ã SAPã®ã¤ã³ã¡ã¢ãªã»ãã¼ã¿ãã¼ã¹ HANA ã«ã¾ãã¯è§¦ãã¦ã¿ããã使ã£ã¦ã¿ããã¨ããæ¹ã®ããã«ãSAP HANA express editionãç¨æããã¦ãã¾ããRAM 32GBã¾ã§ã®PCã«ã¤ã³ã¹ãã¼ã«å¯è½ã§ãç¹ã«è©¦ç¨æéãããã¾ãã(RAM 32GBãè¶ ãã¦ãã¦ãã¤ã³ã¹ãã¼ã«ã§ããªãããã§ã¯ãªã)ã OpenSUSEä¸ã«HANA express editionãã¤ã³ã¹ãã¼ã«ãããVMã¤ã¡ã¼ã¸ãé å¸ããã¦ãããã¤ã³ã¹ãã¼ã«æ¹æ³ã«ã¤ãã¦ã¯SAPå ¬å¼ããã°ã®ãSAP HANAã«è§¦ãã¦ã¿ããï¼ãã®ï¼ï¼SAP HANA 2.0, express edition ï¼ å種ãã¼ã«é¡ã®ã»ããã¢ããã®ãç´¹ä»ãã«è©³ããã§ãã ãã®ä¸æ¹ã§ãç§ã®ããã«ã¡ã¢ãª128GBã®ç§ç©ãã¼ãPCãæã¡æ©ãå¤æ ã®ç«å ´ããè¦ãã¨ããã¼ãPCã®ã¡ã¤ã³ã®OSã¯ãCPUãçé»åã®åãåãã«åªããWindows
ãDockerï¼ããã«ã¼ï¼ãã¨ã¯ãé常ã«è»½éãªã³ã³ããåã®ã¢ããªã±ã¼ã·ã§ã³å®è¡ç°å¢ã§ãããdotCloud社ï¼ç¾Docker社ï¼ãéçºãã2013å¹´ã«ãªã¼ãã³ã½ã¼ã¹ã®ããã¸ã§ã¯ãã¨ãã¦å ¬éããããã½ããã¦ã§ã¢ã®é«éãªé å¸ã»å®è¡ã容æãªã¤ã¡ã¼ã¸ã®ã«ã¹ã¿ãã¤ãºãå°å ¥éç¨ã®æ軽ããè±å¯ãªãã¬ãã«ãã¤ã¡ã¼ã¸ã®æä¾ãªã©ã®çç±ã«ãããå½åã¯ã½ããã¦ã§ã¢ã®éçºããã¹ã段éã«ãããå©ç¨ãå¤ãã£ãããç¾å¨ã§ã¯ãããªãã¯ã¯ã©ã¦ããããªã³ãã¬ãã¹ã·ã¹ãã ã¾ã§ããã¾ãã¾ãªã·ã¼ã³ã§æ¥éã«æ®åãã¤ã¤ããã 軽éãªã³ã³ããåã®ä»®æ³åç°å¢Docker ç¬ç«ããã¢ããªã±ã¼ã·ã§ã³å®è¡ç°å¢ã¨ããã°ãPCã®ãã¼ãã¦ã§ã¢å ¨ä½ãä»®æ³åãã¦ããã®ä¸ã§OSãã¢ããªã±ã¼ã·ã§ã³ãªã©ãåä½ãããä»®æ³å®è¡ç°å¢ãçã£å ã«æãæµ®ãã¹ããã¨ãå¤ãã ããããã¤ãã¼ãã¤ã¶åï¼Hyper-Vãªã©ï¼ããã¹ãåï¼VMware PlayerãWindows Vi
ã©ããããªã¹ãã¢è·äººã®ãã¼ã§ããã¿ãªããmacOSãã©ã®ãããã®é »åº¦ã§ãªã¹ãã¢ãã¦ã¾ããï¼1å¹´ã«1åã¯ãã£ã¦ã¾ãããï¼åã¯3ã¶æã«1åã¯ããããã«ãã¦ã¾ãã綺éºãªç¶æ ã«ãã¦OSãæ大éã®ããã©ã¼ãã³ã¹ã§åããæ¹ããããæå ã«å ¥ããããããããªãã¢ããªããã£ã¨å ¥ã£ã¦ãã®ã£ã¦æ°æã¡ãããªããããªãã§ããããªã®ã§Macãå®æçã«ãªã¹ãã¢(å·¥å ´åºè·ç¶æ ã«åæå)ãã¦ã¾ãã ååã¾ã§ã¯çã£ç½ãªç¶æ ããã ããã3æéãããã§æ®æ®µéçºãã¦ããç°å¢ãæ§ç¯ã§ããããã«ãã¦ããã®ã§ããä»åããéçºç°å¢ãå ¨é¨Dockerã«ãã¦ã¿ããã¨æã£ã¦ãã£ã¦ã¿ãã¨ãã1æéåã§éçºç°å¢ãçµãã¦ä½æ¥éå§ã§ããç¶æ ã¾ã§ã®æçè¨é²ãæ´æ°ãã¾ããï¼ ããã(ããããªã) ãã¤ããã£ã¦ãæé ãæ¯ãè¿ããã¦ãç´¹ä»ãã¦ããã¾ãã Brewfile ãã¤ããªã¹ãã¢å¾ã¯ brew bundle ã³ãã³ãã§ã¢ããªãã½ããã¦ã§ã¢ãå ¥ããããã«ã
ããã«ã¡ã¯ï¼ã¤ã¹ã¿ã«ã§ãã ä»åã¯ã Docker ãã®æçµåãdocker compose ã®ã話ã§ãã åå㯠docker file ã使ã£ã¦ã³ã³ãããä½ãã¨ããã¾ã§ã§ããã¨æãã¾ãã ãã³ã³ããã«ã¯ php 㨠apache 㨠mysql ãå ¥ãã¦ã²ã¨ã¾ãç°å¢ã¯æ´ã£ãã®ã«ããã以ä¸ãªã«ããã®ï¼ãã¨æãããã§ãããããå®ã¯ååã®ç· ãã§ã触ããã¨ãããã²ã¨ã¤ã®ã³ã³ããã«ããããããã¤ã³ã¹ãã¼ã«ããç°å¢ã¨ããã®ã¯æ±ç¨æ§ãä½ãã¦ä½¿ãã¥ããã®ã§ãã ãã¨ãã°ã apache ãããªã㦠nginx ã使ããããã mysql ãããªã㦠postgreSQl ã使ããããã php ãããªã㦠ruby ã使ããããããããªã¨ãã«ã²ã¨ã¤ã® Docker file ãããããç·¨éãã¦ä½ãããããruby ã³ã³ããç¨ docker file, nginx ã³ã³ããç¨Docker file, p
å¹´æ«å¹´å§ã«ãªãã¨èªå® ã®ãããã¯ã¼ã¯å¨ããããããããªãmizutaniã§ãï¼1å¹´ãããåã«ãã©ã¼ãªã³ã°ã§ããã¹ã¤ãããæ ¼å®ã§æã«å ¥ãã¦ã¯ãããã§èªå® ãããã¯ã¼ã¯ã®ç£è¦ç°å¢ãä½ã£ããã§ããï¼ä»è¦ç´ãã¦ã¿ãã¨ããã¨è¤éãªæ§æã§ï¼ãããã©ãã«ãæ´çã§ããªããã¨æ¨å¹´æ«ã«æãç«ã¡ã¾ããï¼æ©å¨ã®æ§æã¯ãªãã¹ãã·ã³ãã«ã«ããã¨ã¨ãã«ã©ãããªãä»é¢¨ãªä½ãã«ãããã¨ãããã¨ã§ï¼Docker + Linuxã§æ§æããPCã«ã¼ã¿ãä½ã£ã¦ã¿ã¾ããï¼ è¨è¨ åå ãµã¼ãã¹ã®ã¢ã¸ã¥ã¼ã«å Linux kernelã«ããããªããã°ãªããªãä»äºãé¤ãï¼åãµã¼ãã¹ããªãã¹ãç¬ç«ãã¦åãããããã«ãã¾ãï¼ å¸è²©ã®ããã¼ããã³ãã«ã¼ã¿ã¼ãªã©ã¨æ¯ã¹ï¼Linuxãå ¥ãããã·ã³ã¯é常ã«èªç±åº¦ãé«ããããªãã§ãã§ãã¾ããï¼ãã®ããã«ç°å¢ã"æ±ãã¦"ãã¾ãã¨ããåé¡ãæãã¾ã ç´°ããå¤æ´ãç¶ãããã¡ã«ãµã¼ãã¹ãä¿åãã¦ãããã¡ã¤ã«ã®ä¾å
ãè·å ´ã®äººãã¡ã«Dockerããã£ã¨è¨´æ±ãããï¼ããããªæ³ãããããDockerã£ã¦ä½ï¼ãã¨ãã£ãæ¹ã ã«Dockerã®é åãä¼ããããã®è¨äºãæ¸ãã¦ã¿ã¾ããã Dockerã®ã¤ã³ã¹ãã¼ã«æ¹æ³ã«ã¤ãã¦ã¯ããAmazon EC2ã«Docker CEã®ç°å¢ãæ§ç¯ãããã«ã¾ã¨ãã¦ãã¾ããä½µãã¦ãèªã¿ãã ããã ãDockerãã¨ã¯ ãDockerï¼ããã«ã¼ï¼ãã¯è¿å¹´å¤§å¤æ³¨ç®ããã¦ãã ä»®æ³åã½ããã¦ã§ã¢ ã§ãã 2017å¹´ã®ä¼æ¥ã«ãããDockerã®å°å ¥ç¶æ³ã¯ãæ¬çªç°å¢ã§ä½¿ç¨ãã¦ãããã¨ããä¼æ¥ã6.0ï¼ ããéçºï¼ãã¹ãï¼æ¤è¨¼æ®µéãã®ä¼æ¥ã13.1ï¼ ã§ãã£ãããã§ããï¼ã2017å¹´ãå½å OpenStackï¼Dockerã®å°å ¥ç¶æ³ã«é¢ããã¦ã¼ã¶ã¼èª¿æ»çµæãçºè¡¨ãï¼ Dockerã注ç®ããã¦ããä¸çªã®çç±ã¯ãã® æ軽ã ã§ããDockerã使ãã°ã以ä¸ã®ãããªãµã¼ãã¼ç°å¢ãç°¡åã«æ§ç¯ãããã¨ãã§ãã¾ã
Dockerã¯ãã·ã³ãã«ãªãããå®ç¨çãªæ©è½ããã¡ã軽éã¨ããç¹å¾´ãæã¤ä»®æ³ç°å¢ã¨ãã¦ãã¢ããªã±ã¼ã·ã§ã³ã®ãããã¤ã«ããã¦æ¥éã«å©ç¨ãåºãã£ã¦ãã¾ããçè ãæè¿ã¯ä¸»ã«éçºç°å¢ã®1ã¤ã¨ãã¦ç©æ¥µçã«å©ç¨ãã¦ãããã¢ããªã±ã¼ã·ã§ã³ã®ãããã¤ãç°¡åã«ãã¦ããã便å©ããçæãã¦ãã¾ããæ¬é£è¼ã§ã¯ãDockerã«èå³ã¯ããã¤ã¤ããã¾ã 触ã£ããã¨ã®ãªãæ¹åãã«ãå®éã«è§¦ã£ã¦Dockerã«ã¤ãã¦ç解ãã¦ããã ãããã®è¨äºãæä¾ãã¾ãã第1åã®æ¬è¨äºã§ã¯ãDockerã®æ¦è¦ããã³æãåºæ¬ã§ããã¤ã¡ã¼ã¸ã¨ã³ã³ããã®ç®¡çã«ã¤ãã¦å®éã®æä½æ¹æ³ãã¹ããããã¨ã«ç´¹ä»ãã¾ãã Dockerã¨ã¯ Dockerã¨ã¯ãLinuxã®ã³ã³ããæè¡ããã¼ã¹ã«Docker社ãéçºããä»®æ³åæè¡ã§ããããã§ã¯Dockerèªä½ã®æ¦è¦ã«ã¤ãã¦ç°¡åã«èª¬æãã¾ãã詳細ãªèª¬æã«ã¤ãã¦ã¯Dockerå ¬å¼ããã¥ã¡ã³ããåç §ãã¦ãã ããã Dock
ãã¼ã éçºã®éçºç°å¢ã¨ã㦠Docker + Vagrant ãé¸æãç¶ããçç± Docker Advent Calendar 2016 ã® 25 æ¥ç®ã§ã. Docker ã¢ããã³ãã«ã¬ã³ãã¼ã¨ãã¦æ¸ãã¦ããã¯ãã ã£ããã§ãããæ¨æ²ã¨æ ¡æ£ãéãã¦ãããã¡ã« Docker ã¨ãããã㯠VM ã¨ãéçºç°å¢ã¨ãã®è©±ãè²æ¿ããªã£ã¦ãã¾ãã主役ã®ãã¼ã«ã Vagrant ã«ãªã£ã¦ãã¾ãã¾ãã. 謹ãã§ãè©«ã³ç³ãä¸ãã¾ã. åãæå±ããä¼ç¤¾ã®äºæ¥ã®ä¸ã¤ã« Web/ã¢ãã¤ã«ã¢ããªã® SI + éç¨ãããããã®éã® Web/API ãµã¼ãã¼éçºã¯ macOS + Vagrant + VirtualBox (CoreOS) + Docker ã社å æ¨æºã®ãã¼ã«ã«éçºç°å¢(以ä¸ãéçºç°å¢)ã¨ãã¦ãã¾ã. åå¼·ä¼å¾ã®æ親ä¼ãã³ã³ãµã«ãã£ã³ã°ãæä¾ããå ´ã§è¯ã質åããããã¨ã®ä¸ã¤ã«ãDocker for Ma
ã³ãã±ã®åã«ä¸¦ãã§ããããã®ãããã Docker æ¬æ ¼çã«ä½¿ã£ã¦ã¾ãããã®ãµã¤ãããã£ã Docker ã§ãããã¤ãããããªæãã«ãã¾ããã Docker ã®å©ç¹ã¨æ¬ ç¹ã§ éçºç°å¢ã®é å¸ã容æã«ã§ãã ãããã¯ãã®ãããã¤ã«ã¤ããã«ã¯ãªã«ãã¨ããã ã¿ãããªæè¦ãããã¨é »ç¹ã«ã¿ãããã®ã§ãããéãããããã¨æã£ã¦ã¾ããããéçºç°å¢ã®é å¸ã«ä½¿ãã®ç¡çã§ãããåã³ã³ãã使ãæ¨ã¦åæãªãã ãã Docker ããããã¤ã«ä½¿ãéã®åé¡ç¹ã¨ãã¦ã¯ä»¥ä¸ãããã¾ã Dockerfile ã« 42 åããå½ä»¤ãããªãã¿ãããªã㤠ãªãã ããã ã§ã³ã³ããã®ãã«ãã«æéãããã ã³ã³ããã®ç®¡çã¨ãã©ãããã®ã ãªãã¼ã¹ãããã·ã®è¨å®ã¨ãã©ãããã®ã ä¸åç®ã«é¢ãã¦ã¯é å¼µã£ã¦ãã ãããåã¯ã»ããã¢ããç¨ããããã¤ç¨ã®ã·ã§ã«ã¹ã¯ãªããã ADD ã㦠RUN ãããããã«ãã¦ã¾ããã·ã§ã«ã¹ã¯ãªããã»ããã¢ãã
â Docker Toolbox ä¸èº«ã¯VirtualBoxã§èµ·åãã¦ããã ã¤ã³ã¹ãã¼ã©ã§VirtualBoxãDockerãã¾ã¨ãã¦ã¤ã³ã¹ãã¼ã«ãã¦ããã¦ããããè¨å®ããã°ããã®ã§ã¤ã³ã¹ãã¼ã«ã楽ã§ããã Vagrantã®ããã«ã²ã¹ãOSã«å ±éããè¨å®ãã¡ã¤ã«(Vagrantfile)ããªããã¾ãç´°ããè¨å®ããã¥ããï¼ä¾ãã°ãããã·è¨å®çï¼ã â»Docker Toolboxã§ã®ãããã·è¨å®ã«ã¤ã㦠https://github.com/docker/toolbox/issues/102 http://qiita.com/heppoko_dev/items/d7aa33336998dc742ac0 http://qiita.com/ll_kuma_ll/items/09dd29377cc0a3d61d99 â VirtualBox+Vagrant VirtualBoxãVagrantãå
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? Vagrantã¨dockerã§ãã¼ã«ã«ç°å¢ãä½ãï¼ ãã¼ã«ã«ã®éçºç°å¢æ§ç¯ã¨ãé¢åã§ãããã 転è·ã¨ã転å±ã¨ãç¹°ãè¿ãã¦ããããã§ãããã¸ã§ã¯ããå¤ãã度ã«éçºç°å¢ãä½ãã®ã§ãã è¨èªãéã£ããã©ã¤ãã©ãªãéã£ãããµã¼ãã¼æ§æãããããããªãã£ãã ãæ¬çªã ã¨ãµã¼ãã¼æ§æãéãããããã¯ï½ãã¿ãããªããããããªãçªã£è¾¼ã¿ãããã£ãã æ¬å½ã«é¢åãããã§ãã å ±æã®éçºãµã¼ãã¼ãããã¨ããã¨ããããã¾ããã ãªããåãããªã¨ã³ã¸ãã¢ãã«ã¹ã¿ãã¤ãºãã¡ãã£ã¦ãã£ã±ãæ¬çªã¨ããé¢ãããã¨ã 大è¦æ¨¡ãªæ¹ä¿®ãå ¥ããããããã«å¹³è¡éçºãã§ããªããªã£
çè 注 UPDATE3 Dec 2019 æªã ã¹ããã¯ã伸ã³ã¦ãã¾ããããã®è¨äºã¯ãã¾ãã«ãå¤ãã§ãããããããã®è¨äºãåèã«ããã®ã¯ã¤ããã¨æãã¾ãã UPDATE2 Nov 2016 ããããã®åé¿ãããã¨ããããã¾ããäºæ³ä»¥ä¸ã«ããããããã¹ããã¯ãã伸ã³ç¶ãã¦ãããããè¨äºä¸ã®ãããããªãé¨åãä¿®æ£ãã¾ããã UPDATE Nov 2016 æ¬è¨äºã¯çè èªèº«ãæªçãªææã«æ¸ãããã®ã§ãä»èªã¿è¿ãã¦ã¿ãã¨ããä¸æ£ç¢ºãªè¡¨ç¾ããã£ãããæ¢ã«ããè¯ãæ段ã«ç½®ãæãããã¦ããå 容ãå«ã¾ãã¾ãã足ãããç¨åº¦ã«ãèªã¿ãã ããã 1. ã¯ããã« ãã®è¨äºã®æ³å®èªè ç§ Vagrantã¨Dockerãã©ã¡ããååã ãã¯ç¥ã£ã¦ãã¨ããæ¹ ã¤ã³ãã©æ§æã®ã³ã¼ãåã¨å ±æã«èå³ããããã©ã¾ã 触ã£ã¦ãªãã¨ããæ¹ å種ã½ããã®æ¦è¦ã¨å©ç¨ã·ã¼ã³ã«ã¤ãã¦è»½ã触ãã¤ã¤ã調ã¹ãå 容ãã¾ã¨ãã¦ããã¾ããã ï¼å·çæç¹ã§ã
åºæ¬çã« Docker ã¤ã¡ã¼ã¸ã¯ Docker ãªãã¸ããªãããã¦ã³ãã¼ããããã¢ãããã¼ããããã®ã ã¨æãã ã¨ã¯ãããã¤ã³ã¿ã¼ãããã«çéããªãã£ãããããã¨ãããããèªåã§ãªãã¸ããªãéç¨ããã®ãã¤ããã ãããªã¨ã㯠Docker ã¤ã¡ã¼ã¸ãããã®ã¾ã¾ãã¡ã¤ã«ã§ããåãããããªã¨æãã¨ããããã çµè«ããå ã«è¨ã£ã¦ãã¾ãã¨ããããªã¨ã㯠docker save ã³ãã³ã㨠docker load ã³ãã³ãã使ãã¨è¯ãã 使ã£ãç°å¢ã¯æ¬¡ã®éãã $ sw_vers ProductName: Mac OS X ProductVersion: 10.12.6 BuildVersion: 16G29 $ docker version Client: Version: 17.09.0-ce API version: 1.32 Go version: go1.9 Git commit: af
ããã«ã¡ã¯ãSPEEDAéçºãã¼ã ã®é´æ¨ã§ãã 調ã¹ã¦ã¿ãã¨ãªããªãèå³æ·±ãæè¡ã§ãããã«ããã¹ãã§ã®Docker Conainerééä¿¡ã ãããã©ã®ããã«å®ç¾ãã¦ããã®ã説æãããã¨æãã¾ãã ãããã®åã«ä»åã®æ稿ã§ã¯ãã¾ãåºç¤ç¥èçãªè©±ã¨ãã¦Dockerã®ãããã¯ã¼ã¯ã«ã¤ãã¦é ã追ã£ã¦èª¬æããã¾ãã Dockerã®ãããã¯ã¼ã¯ docker0 docker0ã«æ¥ç¶ããã¦ãããããã¯ã¼ã¯ã»ã¤ã³ã¿ãã§ã¼ã¹ veth ãããã¯ã¼ã¯åå空é Docker Containerã®ãããã¯ã¼ã¯åå空éãåç §ãã ã«ã¼ãã£ã³ã° ã·ãªã¼ãº Dockerã®ãããã¯ã¼ã¯ docker0 Dockerãã¤ã³ã¹ãã¼ã«ãããã¨ãifconfigãip addr showããã¨docker0ãªããã®ã表示ãããããã«ãªãã®ã§ãæ°ã«ãªã£ã¦ãã人ããããã¨æãã¾ãã ããã¯ä¸ä½ä½è ãªã®ã§ããããã [kenji@a
ãã¾ãä»äºã®é¢ä¿ã§ãæ©æ¢°å¦ç¿ã®æç§æ¸çãªæ¸ç±ãèªãã ããªã³ã©ã¤ã³è¬åº§ãåè¬ãããããªãããµã³ãã«ããã¥ã¼ããªã¢ã«ãåããã¦åå¼·ãã¦ãã¾ãã æ©æ¢°å¦ç¿ãåå¼·ããã¨ãã¯ãPythonã®ç°å¢ãæ§ç¯ããJupyterNotebookã使ã£ã¦ãå®éã«æã¨é ãåãããªããè¡ãã®ãå¹ççã§ããããã¢ã«ã´ãªãºã ã®çè«ãã®ãã®ã®ç解ããã§ã«ããã©ãä¸ãéå¦ç¿å¯¾çã®ããã®æ£ååãæ±åæ§è½ã®è©ä¾¡ãã¯ãã¹ããªãã¼ã·ã§ã³ãä¸åè¡¡ãã¼ã¿ãå°ãªããã¼ã¿ã¯ã©ãããã°ãããããªã©ãªã©ãã¡ãã¡é£ãããã¨ãæ°å¤ãåå¼·ããªããã°ãªãã¾ããã ãã®ä¸ããããæ©æ¢°å¦ç¿ã§ã®å¦ç¿ã¯ã1度ããã°çµããï¼ã§ã¯ãªãããã©ã¡ã¼ã¿ãã¥ã¼ãã³ã°ãããããã¼ã¿ãå¢ããããå å·¥ãããããªãããç¹°ãè¿ããªãã©ãè¡ãå¿ è¦ãããã¾ããä¸è¦ãã¸ãã¹å¯ãï¼ã¢ã«ãããã¯ãªé°å²æ°ãé¸ãåºãã¦ãã¾ãããå®éã®ã¨ããã¯ãé常ã«æ³¥èãä½æ¥ã®ãªã³ãã¬ã¼ãã§ãã ãããããã
6æ15æ¥ããµã¤ãªã¹ãã¯ããã¸ã¼æ ªå¼ä¼ç¤¾ã®ã»ããã¼ã«ã¼ã ã«ã¦ãDocker æåç·ï¼OSSã¨ãã¹ãã¼ãé¼è«ã·ãªã¼ãºï¼ æ»ããITã¯ããå®ç¾ããï¼ OSSã¤ã³ãã©ãã¤ã¿ã¼ vol.1ããéå¬ãããã ãããã¹ã±ã¼ãåµæ¥è ãã¼ã¯ã»ã¢ã³ããªã¼ã»ã³æ°ãããã¹ã¦ã®ä¼æ¥ãã½ããã¦ã§ã¢ä¼ç¤¾ã«ãªããã¨äºè¨ããããã«ãè¿å¹´ã§ã¯ã½ããã¦ã§ã¢ã®æ´»ç¨ã«ããäºæ¥æ¹åãªã©æ§ã ãªåãçµã¿ãè¦åããããã2017å¹´ãã½ããã¦ã§ã¢ã«ããã¦ããããªãããã¯ã®ã²ã¨ã¤ã¨è¨ãã°ã³ã³ããæè¡ã ããã æ¬ã¤ãã³ãã§ã¯ä»ãã£ã¨ã人æ°ã®ã³ã³ããæè¡ãDockerãã¨ããã¤ã¯ããµã¼ãã¹ãªã©ã§ä½¿ããã¦ãããnginxãããã¿ãã³ã³ããæè¡ã®è¬æ¼ããã£ãã®ã§ã¬ãã¼ããã¦ãããæå¾ã«OSSã®ã¨ãã¹ãã¼ã3åãã¨ã³ã¿ã¼ãã©ã¤ãºITãèªãé¼è«ã®æ§åããå±ããããã å··ã§è©±é¡ã®Dockerãç¥ã ï½ å é²ä¼æ¥ã¯ããªãDockerã使ã£ã¦æ»ããã®ãï¼
ï¼ååããã¨ãç¹°ãè¿ããã®ã§èªååãã¾ããã ä½ã£ããã® crystal㧠des ã¨ãããã¼ã«ãã¤ããã¾ãããdockerç°å¢ã®è¨å®ãã¡ã¤ã«ãçæããCLIãã¼ã«ã§ãã github.com ã¾ãã«ããããã±ã¼ã¹ crystalã試ããããã©crystalããã¼ã«ã«ã«å ¥ã£ã¦ããªã php7ã試ããããphp7ããã¼ã«ã«ã«å ¥ã£ã¦ããªã ãã£ã¼ãã©ã¼ãã³ã°æ¬ã®åå¼·ã®ããã«pythonç°å¢ãã»ãã ãµã¯ãã¨è©¦ãããã ããªã®ã«ããã¼ã«ã«ã«ããããå ¥ããã®ã¯é¢åã§ããããèªåã®å ´åã¯ãå®ç¾ãããç°å¢ãdockerã§ç¨æãã¦ãã¾ãããDockerfileãMakefileãdocker-compose.yml ã®éå½¢ãç¨æãã¦ãããå¿ è¦ãªæã«ãããã³ãã¼ããé©å®æ¸ãæãã¦å©ç¨ãã¦ãã¾ããã ãã®ä½æ¥ãé¢åã ã£ãã®ã§ãã¼ã«ãä½ãã¾ããã 使ãæ¹ ä»¥ä¸ã®ï¼ã¤ã®ã³ãã³ããæã¦ã°ãdockerç°å¢ã«å ¥ããã¨
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? ãã¼ã«ã«PCã«å人éçºç°å¢ã建ã¦ãããã©ãæ¯è¦ã¯æ±ããããªããã®ã§ãã ããããã¨ãã ãããã®å ´åvagrant(virtualbox)ãdockerãã®2æã«ãªãã¨æãã¾ãã ãã®ä½¿ãåãã«ãã¤ãè¿·ãã®ã§ã©ãããã¹ããã®æéãèãã¦ã¿ã¾ããã ãæã: 以ä¸ã¯å人ã®è¦è§£ã§ãã£ã¦ãæå±å ã®è¦è§£ã§ã¯ããã¾ããã vagrant ã«ã¼ãã«ã«ä¾åããæä½ãè¡ãããå ´å dockerã®å ´åãããããã«ã¼ãã«ãã©ã¡ã¼ã¿ãéããã¦ãã¾ãã ç¹å®ãã¼ã¸ã§ã³ã®ã«ã¼ãã«ã®ç°å¢ãç¨æããå¿ è¦ãããå ´åããã«ã¼ãã«ãã©ã¡ã¼ã¿ã«ç¹æ®ãªè¨å®ãå¿ è¦ãªç°å¢ã§ã¯ä»®æ³ã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}