Immutable Infrastructure Conference #1 : ATND
ã§LTãã¦ããã
å 容ã¯ãããã«ã´ããæ¨ã¦ã¾ãããã¨ãã話以ä¸ã®ãã®ã¯ç¹ã«ãªãã
èæ¯ã®èª¬æãå°ãéã ã£ãã®ã§è£è¶³ããã¨ãJenkins ã®ã¸ã§ãã¹ã¯ãªããã§ãgit push ãã度㫠docker run ãã¦ããã ã´ããã©ãã©ããã¾ã£ã¦ãã£ãã¨ããæãã 1 push ããããã¢ããªã³ã³ãããDBã³ã³ããã¨ãåããã¦3ã³ã³ãããããèµ·åãã¦ãããéçºãæ´»çºã ã¨ãã©ãã©ãã´ãããã¾ãã ããã«è£è¶³ããã¨ãDevice mapper ããã¿ã®ã´ãã¯ãaufs 使ãã¨ããªã解決ã§ããããªæãã¯ãã¦ãã (Device mapper ã ã¨ãããã¯ããã¤ã¹ã¬ãã«ã§ã¤ã¡ã¼ã¸å·®åã表ç¾ããã®ã§ãããã¤ã¹æ¯(å·®å)æ¯ã« mount ãèµ°ãã¿ãããªå®è£ ã«ãªã£ã¦ããã©ãaufs ã ã¨ãã¡ã¤ã«ã·ã¹ãã åä½ã§è¤æ°ã®ãã£ã¬ã¯ããªãæãã¦ãã¦ã³ãããã¿ãããªãã¨ãã§ããã®ã§ãç¡é§ãªãã¦ã³ããèµ°ãã«ããããå¤åã)
Disposable Infrastructureãç¹ã«ã³ã³ããåä»®æ³åæè¡ã使ã£ã¦å®ç¾ãããã¨ããå ´åã¯ãã´ããã©ããããã§ããã®ãã¯çµæ§éè¦ãªææ¨ãªããããªããã¨æãã (ã´ããã²ã©ãããæ¯ãã¦ããã¤ãã¼ãã¤ã¶åä»®æ³åã§ããã¨ããé¸æããããããããªã)
ããããã¦ãã¦ããã¾ã£ãããDocker èªä½ãå®å®ãã¦ããã®ã§ãæè¿ã¯ rpm/deb ããã±ã¼ã¸ã®ãã«ãã Docker on Jenkins ã§ããããããã«ãã¦éçºå¹çããããããã¦ãã
ã¨ããããä»ç¾å¨ã´ãæé¤ã«ããèå³ããªããªã£ã¦ãã
å¹çããã´ãæé¤ããããã«ãDocker ã®å é¨å®è£ ã®åå¼·ãã¦ã¦ããããã話ãã³ã³ããåä»®æ³ååå¼·ä¼ã¨ããããã¤ã§ããã¹ããããããªãã