Dockerãšã¯äœã§ããïŒ
Dockerã¯ãã¢ããªã±ãŒã·ã§ã³ãéçºãé ä¿¡ãããã³éçšããããã®ãªãŒãã³ãã©ãããã©ãŒã ã§ãã Dockerã¯ãã¢ããªãé«éåããããã«èšèšãããŠããŸãã Dockerã䜿çšãããšãã¢ããªã±ãŒã·ã§ã³ãã€ã³ãã©ã¹ãã©ã¯ãã£ããåé¢ããã€ã³ãã©ã¹ãã©ã¯ãã£ã管ç察象ã¢ããªã±ãŒã·ã§ã³ãšããŠæ±ãããšãã§ããŸãã Dockerã¯ãã³ãŒãã®ã¬ã€ã¢ãŠãããã¹ãã®é«éåãã¢ããªã±ãŒã·ã§ã³ã®ã¬ã€ã¢ãŠãã®é«éåãããã³ã³ãŒãã®èšè¿°ãšã³ãŒãã®å®è¡éã®æéã®ççž®ã«åœ¹ç«ã¡ãŸãã Dockerã¯ãã¢ããªã±ãŒã·ã§ã³ã®ç®¡çãšã¬ã€ã¢ãŠãã«åœ¹ç«ã€ããã»ã¹ãšãŠãŒãã£ãªãã£ã䜿çšããŠã軜éã³ã³ãããŒä»®æ³åãã©ãããã©ãŒã ã§ãããè¡ããŸãã
ãã®äžæ žã§ããdockerã䜿çšãããšãã³ã³ãããŒå ã§å®å šã«åé¢ãããã»ãŒãã¹ãŠã®ã¢ããªã±ãŒã·ã§ã³ãå®è¡ã§ããŸãã å®å šãªåé¢ã«ãããåããã¹ãäžã§å€ãã®ã³ã³ãããåæã«å®è¡ã§ããŸãã ãã€ããŒãã€ã¶ãŒã®äœåãªè² è·ãªãã§å®è¡ãããã³ã³ãããŒã®è»œéæ§ã«ãããããŒããŠã§ã¢ãããã«æŽ»çšã§ããŸãã
ãã©ãããã©ãŒã ããã³ã³ã³ããä»®æ³åããŒã«ã¯ã次ã®å Žåã«åœ¹ç«ã¡ãŸãã
- ã¢ããªã±ãŒã·ã§ã³ïŒããã³åæ§ã«äœ¿çšãããã³ã³ããŒãã³ãïŒãdockerã³ã³ãããŒã«ããã¯ããŸãã
- éçºããã³ãã¹ãã®ããã«ãããã®ã³ã³ãããããŒã ã«é åžããã³é ä¿¡ããŸãã
- ãããã®ã³ã³ãããããŒã¿ã»ã³ã¿ãŒãšã¯ã©ãŠãã®äž¡æ¹ã«é 眮ããŸãã
dockerã¯äœã«äœ¿çšã§ããŸããïŒ
ã¢ããªããã°ããã¢ããããŒããã
Dockerã¯ãéçºãµã€ã¯ã«ãæŽçããã®ã«æé©ã§ãã éçºè ã¯ãDockerã䜿çšããŠãã¢ããªã±ãŒã·ã§ã³ãšãµãŒãã¹ã§ããŒã«ã«ã³ã³ãããŒã䜿çšã§ããŸãã ããã«ãããç¶ç¶çãªçµ±åãšå±éã®ããã»ã¹ãšã®çµ±åãå¯èœã«ãªããŸãïŒç¶ç¶çãªçµ±åãšå±éã®ã¯ãŒã¯ãããŒïŒã
ããšãã°ãéçºè ã¯ã³ãŒããããŒã«ã«ã§èšè¿°ããéçºã¹ã¿ãã¯ïŒäžé£ã®dockerã€ã¡ãŒãžïŒãååãšå ±æããŸãã æºåãã§ããããã³ãŒããšã³ã³ããããã¹ããµã€ãã«ãã€ãºãã³ã°ããå¿ èŠãªãã¹ããå®è¡ããŸãã ãã¹ããµã€ãããã圌ãã¯æ¬çªã«ã³ãŒããšç»åãéãããšãã§ããŸãã
ããç°¡åãªã¬ã€ã¢ãŠããšå±é
ã³ã³ããããŒã¹ã®ããã«ãŒãã©ãããã©ãŒã ã«ããããã€ããŒããç°¡åã«ç§»æ€ã§ããŸãã Dockerã³ã³ããã¯ãããŒã¿ã»ã³ã¿ãŒããã³ã¯ã©ãŠãå ã®å®éã®ãã·ã³ãšä»®æ³ãã·ã³ã®äž¡æ¹ã®ããŒã«ã«ãã·ã³ã§åäœã§ããŸãã
Dockerã®ç§»æ€æ§ãšè»œéæ§ã«ãããã¯ãŒã¯ããŒããåçã«ç®¡çãããããªããŸãã dockerã䜿çšããŠãã¢ããªã±ãŒã·ã§ã³ãŸãã¯ãµãŒãã¹ãå±éãŸãã¯å®æžã§ããŸãã ããã«ãŒã®é床ã«ãããã»ãŒãªã¢ã«ã¿ã€ã ã§ãããè¡ãããšãã§ããŸãã
é«è² è·ããã³ããå€ãã®ãã€ããŒã
Dockerã¯è»œéã§é«éã§ãã ãã€ããŒãã€ã¶ãŒããŒã¹ã®ä»®æ³ãã·ã³ã«ä»£ãããæç¶å¯èœã§è²»çšå¯Ÿå¹æã®é«ã代æ¿æ段ãæäŸããŸãã ããšãã°ãç¬èªã®ã¯ã©ãŠããŸãã¯Platform-as-Serviceãäœæããå Žåãªã©ãé«è² è·ã®å Žåã«ç¹ã«åœ¹ç«ã¡ãŸãã ãã ããå©çšå¯èœãªãªãœãŒã¹ãããã«æŽ»çšãããå Žåã¯ãäžå°èŠæš¡ã®ã¢ããªã±ãŒã·ã§ã³ã«ã圹ç«ã¡ãŸãã
äž»èŠãªDockerã³ã³ããŒãã³ã
Dockerã¯2ã€ã®äž»èŠãªã³ã³ããŒãã³ãã§æ§æãããŠããŸãã
- DockerïŒãªãŒãã³ãœãŒã¹ã®ä»®æ³åãã©ãããã©ãŒã ã
- Docker HubïŒDockerã³ã³ãããŒãé åžããã³ç®¡çããããã®ãµãŒãã¹ãšããŠã®ãã©ãããã©ãŒã ã
æ³šïŒ Dockerã¯Apache 2.0ã©ã€ã»ã³ã¹ã®äžã§é åžãããŸãã
Dockerã¢ãŒããã¯ãã£
Dockerã¯ã¯ã©ã€ã¢ã³ããµãŒããŒã¢ãŒããã¯ãã£ã䜿çšããŸãã Dockerã¯ã©ã€ã¢ã³ãã¯DockerããŒã¢ã³ãšéä¿¡ããŸããDockerããŒã¢ã³ã¯ãã³ã³ãããŒã®äœæãèµ·åãé åžã®è² æ ãåŒãåããŸãã ã¯ã©ã€ã¢ã³ããšãµãŒããŒã®äž¡æ¹ãåãã·ã¹ãã ã§å®è¡ã§ããŸããã¯ã©ã€ã¢ã³ãããªã¢ãŒãDockerããŒã¢ã³ã«æ¥ç¶ã§ããŸãã ã¯ã©ã€ã¢ã³ããšãµãŒããŒã¯ããœã±ãããŸãã¯RESTful APIãä»ããŠéä¿¡ããŸãã
DockerããŒã¢ã³
å³ã«ç€ºãããã«ãããŒã¢ã³ã¯ãã¹ããã·ã³ã§èµ·åããŸãã ãŠãŒã¶ãŒã¯ãµãŒããŒãšçŽæ¥å¯Ÿè©±ããŸããããããã«ã¯ã¯ã©ã€ã¢ã³ãã䜿çšããŸãã
Dockerã¯ã©ã€ã¢ã³ã
Dockerã¯ã©ã€ã¢ã³ããdocker-Dockerã®ã¡ã€ã³ã€ã³ã¿ãŒãã§ã€ã¹ã ãŠãŒã¶ãŒããã³ãã³ããåãåããDockerããŒã¢ã³ãšå¯Ÿè©±ããŸãã
å éšããã«ãŒ
dockerã®æ§æãç解ããã«ã¯ã3ã€ã®ã³ã³ããŒãã³ãã«ã€ããŠç¥ãå¿ èŠããããŸãã
- ç»å
- ã¬ãžã¹ããªïŒã¬ãžã¹ããªïŒ
- ã³ã³ãã
ç»å
Dockerã€ã¡ãŒãžã¯èªã¿åãå°çšã®ãã³ãã¬ãŒãã§ãã ããšãã°ãã€ã¡ãŒãžã«ã¯ãApacheãå«ãUbuntu OSãšã¢ããªã±ãŒã·ã§ã³ãå«ãŸããŠããå ŽåããããŸãã ã€ã¡ãŒãžã¯ãã³ã³ããã®äœæã«äœ¿çšãããŸãã Dockerã䜿çšãããšãæ°ããç»åãç°¡åã«äœæããããæ¢åã®ç»åãæŽæ°ããããä»ã®äººãäœæããç»åãããŠã³ããŒããããã§ããŸãã ç»åã¯ãDockerã¢ã»ã³ããªã®ã³ã³ããŒãã³ãã§ãã
ã¬ãžã¹ããª
Dockerã¬ãžã¹ããªã¯ç»åãä¿åããŸãã ç»åãããŠã³ããŒããŸãã¯ã¢ããããŒãã§ãããããªãã¯ããã³ãã©ã€ããŒãã®ã¬ãžã¹ããªããããŸãã ãããªãã¯Dockerã¬ãžã¹ããªã¯Docker Hubã§ãã ç»åã®èšå€§ãªã³ã¬ã¯ã·ã§ã³ãããã«ä¿åãããŸãã ãåãã®ããã«ãç»åã¯èªåã§äœæããããšããä»ã®äººãäœæããç»åã䜿çšããããšãã§ããŸãã ã¬ãžã¹ããªã¯é åžã®ã³ã³ããŒãã³ãã§ãã
ã³ã³ãã
ã³ã³ããã¯ãã£ã¬ã¯ããªã®ãããªãã®ã§ãã ã³ã³ããã«ã¯ãã¢ããªã±ãŒã·ã§ã³ãæ©èœããããã«å¿ èŠãªãã®ããã¹ãŠå«ãŸããŠããŸãã åã³ã³ããã¯ã€ã¡ãŒãžããäœæãããŸãã ã³ã³ããã¯ãäœæãéå§ãåæ¢ã移åããŸãã¯åé€ã§ããŸãã åã³ã³ããã¯åé¢ãããŠãããã¢ããªã±ãŒã·ã§ã³ã«ãšã£ãŠå®å šãªãã©ãããã©ãŒã ã§ãã ã³ã³ããã¯äœæ¥ã®ã³ã³ããŒãã³ãã§ãã
Dockerã¯ã©ã®ããã«æ©èœããŸããïŒ
ãããŸã§ã®ãšããã次ã®ããšãããã£ãŠããŸãã
- ã¢ããªã±ãŒã·ã§ã³ãé 眮ãããŠããç»åãäœæã§ããŸãã
- ã€ã¡ãŒãžããã³ã³ãããäœæããŠã¢ããªã±ãŒã·ã§ã³ãèµ·åã§ããŸãã
- Docker HubãŸãã¯ç»åã®å¥ã®ã¬ãžã¹ããªãä»ããŠç»åãé åžã§ããŸãã
ãããã®ã³ã³ããŒãã³ããã©ã®ããã«çµã¿åããããããèŠãŠã¿ãŸãããã
ç»åã¯ã©ã®ããã«æ©èœããŸããïŒ
ç»åã¯ãã³ã³ãããäœæãããèªã¿åãå°çšãã³ãã¬ãŒãã§ããããšã¯æ¢ã«ç¥ã£ãŠããŸãã åç»åã¯äžé£ã®ã¬ãã«ã§æ§æãããŠããŸãã Dockerã¯ã ãŠããªã³ãã¡ã€ã«ã·ã¹ãã ã䜿çšããŠããããã®ã¬ãã«ã1ã€ã®ã€ã¡ãŒãžã«çµåããŸã ã ãŠããªã³ãã¡ã€ã«ã·ã¹ãã ã§ã¯ãç°ãªããã¡ã€ã«ã·ã¹ãã ïŒç°ãªããã©ã³ãïŒã®ãã¡ã€ã«ãšãã£ã¬ã¯ããªãééçã«ãªãŒããŒã©ãããããŠãäžè²«ãããã¡ã€ã«ã·ã¹ãã ãäœæã§ããŸãã
Dockerã軜éã§ããçç±ã®1ã€ã¯ããã®ãããªã¬ãã«ã®äœ¿çšã§ãã ã¢ããªã±ãŒã·ã§ã³ãæŽæ°ãããªã©ãã€ã¡ãŒãžãå€æŽãããšãæ°ããã¬ãã«ãäœæãããŸãã ãã®ãããä»®æ³ãã·ã³ã®å Žåãšåæ§ã«ãã€ã¡ãŒãžå šäœã眮ãæãããåæ§ç¯ãããããã«ãã¬ãã«ã®ã¿ãè¿œå ãŸãã¯æŽæ°ãããŸãã ãŸããæ°ããã€ã¡ãŒãžå šäœãé åžããå¿ èŠã¯ãªããæŽæ°ã®ã¿ãé åžããããããã€ã¡ãŒãžã®é åžãããç°¡åãã€è¿ éã«ãªããŸãã
åç»åã®äžå¿ã«ã¯åºæ¬çãªç»åããããŸãã ããšãã°ãubuntuãUbuntuã®ããŒã¹ã€ã¡ãŒãžããŸãã¯fedoraãFedoraãã£ã¹ããªãã¥ãŒã·ã§ã³ã®ããŒã¹ã€ã¡ãŒãžã§ãã æ°ããç»åãäœæããããã®åºç€ãšããŠç»åã䜿çšããããšãã§ããŸãã ããšãã°ãApacheã€ã¡ãŒãžãããå ŽåãWebã¢ããªã±ãŒã·ã§ã³ã®ããŒã¹ã€ã¡ãŒãžãšããŠäœ¿çšã§ããŸãã
æ³šïŒ Dockerã¯éåžžãDocker Hubã¬ãžã¹ããªããç»åãååŸããŸãã
Dockerã€ã¡ãŒãžã¯ããããã®åºæ¬çãªã€ã¡ãŒãžããäœæã§ããŸã;ãããã®ã€ã¡ãŒãžãäœæããããã®èª¬ææé ã¯ãæ瀺ãšåŒã°ããŸãã ååœä»€ã¯ãæ°ããç»åãŸãã¯ã¬ãã«ãäœæããŸãã æé ã¯æ¬¡ã®ãšããã§ãã
- ããŒã ã®ç«ã¡äžã
- ãã¡ã€ã«ãŸãã¯ãã£ã¬ã¯ããªãè¿œå ãã
- ç°å¢å€æ°ãäœæãã
- ãã®ã€ã¡ãŒãžã®ã³ã³ãããŒãéå§ããããšãã«äœãéå§ãããã®æ瀺
ãããã®æ瀺ã¯
Dockerfile
ä¿åãããŸãã Dockerã¯ãã€ã¡ãŒãžãã¢ã»ã³ãã«ãããšãã«ãã®
Dockerfile
èªã¿åãããããã®åœä»€ãå®è¡ããŠãæçµã€ã¡ãŒãžãè¿ããŸãã
dockerã¬ãžã¹ããªã¯ã©ã®ããã«æ©èœããŸããïŒ
ã¬ãžã¹ããªã¯ãDockerã€ã¡ãŒãžã®ãªããžããªã§ãã ã€ã¡ãŒãžãäœæããããDocker Hubãããªãã¯ã¬ãžã¹ããªãŸãã¯å人ã¬ãžã¹ããªã«å ¬éã§ããŸãã
Dockerã¯ã©ã€ã¢ã³ãã䜿çšããŠããã§ã«å ¬éãããŠããç»åãæ€çŽ¢ããDockerã䜿çšããŠãã·ã³ã«ããŠã³ããŒãããŠã³ã³ãããäœæã§ããŸãã
Docker Hubã¯ããããªãã¯ããã³ãã©ã€ããŒãã®ç»åã¹ãã¬ãŒãžãæäŸããŸãã ãããªãã¯ãªããžããªããç»åãæ€çŽ¢ããŠããŠã³ããŒãããããšã¯èª°ã§ãå©çšã§ããŸãã ãã©ã€ããŒãããŒã«ãã®å 容ã¯æ€çŽ¢çµæã«å«ãŸããŸããã ãããŠãããªããšããªãã®ãŠãŒã¶ãŒã®ã¿ããããã®ç»åãåãåããããããã³ã³ãããäœæã§ããŸãã
ã³ã³ããã¯ã©ã®ããã«æ©èœããŸããïŒ
ã³ã³ããã¯ããªãã¬ãŒãã£ã³ã°ã·ã¹ãã ããŠãŒã¶ãŒãã¡ã€ã«ãããã³ã¡ã¿ããŒã¿ã§æ§æãããŸãã ç¥ã£ãŠããããã«ãåã³ã³ããã¯ã€ã¡ãŒãžããäœæãããŸãã ãã®ã€ã¡ãŒãžã¯ãã³ã³ããå ã®å 容ãã³ã³ããã®èµ·åæã«éå§ããããã»ã¹ãããã³ãã®ä»ã®æ§æããŒã¿ãdockerã«äŒããŸãã Dockerã€ã¡ãŒãžã¯èªã¿åãå°çšã§ãã Dockerãã³ã³ãããèµ·åãããšãã€ã¡ãŒãžã®äžã«èªã¿åã/æžã蟌ã¿ã¬ãã«ãäœæããïŒåè¿°ã®ããã«ãŠããªã³ãã¡ã€ã«ã·ã¹ãã ã䜿çšïŒãã¢ããªã±ãŒã·ã§ã³ãèµ·åãããŸãã
ã³ã³ãããèµ·åãããšã©ããªããŸããïŒ
docker
ããã°ã©ã ã䜿çšããããRESTful APIã䜿çšããŠãdockerã¯ã©ã€ã¢ã³ãã¯dockerããŒã¢ã³ã«ã³ã³ãããèµ·åããããã«æ瀺ããŸãã
$ sudo docker run -i -t ubuntu /bin/bash
ãã®ããŒã ã«å¯ŸåŠããŸãããã ã¯ã©ã€ã¢ã³ãã¯ãæ°ããã³ã³ãããèµ·åãããããšã瀺ã
run
ãªãã·ã§ã³ãæå®ãã
docker
ã䜿çšããŠèµ·åãããŸãã ã³ã³ãããå®è¡ããããã®æå°èŠä»¶ã¯æ¬¡ã®å±æ§ã§ãã
- ã³ã³ããã®äœæã«äœ¿çšããç»åã ç§ãã¡ã®å Žåã
ubuntu
- ã³ã³ããã®èµ·åæã«å®è¡ããã³ãã³ãã ç§ãã¡ã®å Žåã
/bin/bash
ãã®ã³ãã³ããå®è¡ãããšãå éšã§äœãèµ·ãããŸããïŒ
Dockerã¯é çªã«æ¬¡ã®ããšãè¡ããŸãã
- Ubuntuã€ã¡ãŒãžãããŠã³ããŒãããŸããDockerã¯ããŒã«ã«ãã·ã³äžã®
ubuntu
ã€ã¡ãŒãžããã§ãã¯ããããã§ãªãå Žåã¯Docker HubããããŠã³ããŒãããŸãã ç»åãããå Žåãããã䜿çšããŠã³ã³ãããäœæããŸãã - ã³ã³ãããäœæããŸããç»åãåä¿¡ãããšãDockerã¯ããã䜿çšããŠã³ã³ãããäœæããŸãã
- ãã¡ã€ã«ã·ã¹ãã ãåæåããèªã¿åãå°çšã¬ãã«ãããŠã³ãããŸããã³ã³ããã¯ãã¡ã€ã«ã·ã¹ãã ã«äœæãããèªã¿åãå°çšã¬ãã«ã§ã¯ã€ã¡ãŒãžãè¿œå ãããŸãã
- ãããã¯ãŒã¯/ããªããžãåæåããŸãïŒ dockerããã¹ããã·ã³ãšéä¿¡ã§ããããã«ãããããã¯ãŒã¯ã€ã³ã¿ãŒãã§ã€ã¹ãäœæããŸãã
- IPã¢ãã¬ã¹ã®èšå®ïŒã¢ãã¬ã¹ãèŠã€ããŠèšå®ããŸãã
- æå®ãããããã»ã¹ãéå§ããŸããã¢ããªã±ãŒã·ã§ã³ãèµ·åããŸãã
- ã¢ããªã±ãŒã·ã§ã³ã®åºåãåŠçããŠåºåããŸããã¢ããªã±ãŒã·ã§ã³ã®æšæºå ¥åãåºåããšã©ãŒã¹ããªãŒã ãæ¥ç¶ããŠãã°ã«èšé²ãããããã¢ããªã±ãŒã·ã§ã³ã®åäœãç£èŠã§ããŸãã
ããã§äœæ¥ã³ã³ãããã§ããŸããã ã³ã³ããã管çããã¢ããªã±ãŒã·ã§ã³ãšå¯Ÿè©±ã§ããŸãã ã¢ããªã±ãŒã·ã§ã³ãåæ¢ããããšã«æ±ºããããã³ã³ãããåé€ããŸãã
䜿çšæè¡
Dockerã¯Goã§äœæãããLinuxã«ãŒãã«ã®ããã€ãã®æ©èœã䜿çšããŠäžèšã®æ©èœãå®è£ ããŸãã
åå空é
Dockerã¯
namespaces
ãã¯ãããžãŒã䜿çšããŠãã³ã³ãããšåŒã°ããåé¢ãããã¯ãŒã¯ã¹ããŒã¹ãæŽçããŸãã ã³ã³ãããèµ·åãããšãdockerã¯ãã®ã³ã³ããã®åå空éã®ã»ãããäœæããŸãã
ããã«ãããåå空éã§å®è¡ãããŠããã³ã³ããã®ååŽé¢ãåé¢ãããã¬ã€ã€ãŒãäœæãããå€éšã·ã¹ãã ã«ã¢ã¯ã»ã¹ã§ããªããªããŸãã
dockerã䜿çšããããã€ãã®åå空éã®ãªã¹ãïŒ
- pidïŒããã»ã¹ãåé¢ããŸãã
- netïŒãããã¯ãŒã¯ã€ã³ã¿ãŒãã§ã€ã¹ã管çããŸãã
- ipcïŒ IPCãªãœãŒã¹ã管çããŸãã ïŒICPïŒããã»ã¹ééä¿¡ïŒ;
- mntïŒããŠã³ããã€ã³ãã®ç®¡ççšã
- utcïŒã«ãŒãã«ãåé¢ããããŒãžã§ã³çæãå¶åŸ¡ããŸãïŒUTCïŒUnixã¿ã€ã ã·ã§ã¢ãªã³ã°ã·ã¹ãã ïŒã
ã³ã³ãããŒã«ã°ã«ãŒã
Dockerã¯
cgroups
ãŸãã¯ã³ã³ãããŒã«ã°ã«ãŒããã¯ãããžãŒã䜿çšããŸãã ã¢ããªã±ãŒã·ã§ã³ãåé¢ããŠå®è¡ããããã®éµã¯ãæäŸããããªãœãŒã¹ã®ã¿ãã¢ããªã±ãŒã·ã§ã³ã«æäŸããããšã§ãã ããã«ãããã³ã³ãããé©åãªé£äººã«ãªããŸãã ã³ã³ãããŒã«ã°ã«ãŒãã䜿çšãããšã䜿çšå¯èœãªéã®ãªãœãŒã¹ãå ±æããå¿ èŠã«å¿ããŠå¶éãšå¶éãèšå®ã§ããŸãã ããšãã°ãã¡ã¢ãªã®å¯èœãªéãã³ã³ããã«å¶éããŸãã
ãŠããªã³ãã¡ã€ã«ã·ã¹ãã
Union File SysemãŸãã¯UnionFSã¯ãã¬ã€ã€ãŒãäœæããããšã§æ©èœãããã¡ã€ã«ã·ã¹ãã ã§ãããéåžžã«è»œéã§é«éã§ãã Dockerã¯UnionFSã䜿çšããŠãã³ã³ãããŒã®æ§ç¯å ã®ãããã¯ãäœæããŸãã Dockerã¯ãAUFSãbtrfsãvfsãDeviceMapperãå«ãããã€ãã®UnionFSãªãã·ã§ã³ã䜿çšã§ããŸãã
ã³ã³ãã圢åŒ
Dockerã¯ãããã®ã³ã³ããŒãã³ããã©ãããŒã«çµåãããããã³ã³ãã圢åŒãšåŒã³ãŸãã ããã©ã«ãã®åœ¢åŒã¯
libcontainer
ãšåŒã°ããŸãã Dockerã¯ã LXCã䜿çšããåŸæ¥ã®Linuxã³ã³ãããŒåœ¢åŒããµããŒãããŠããŸãã å°æ¥ãDockerã¯ããããä»ã®ã³ã³ãã圢åŒããµããŒãããã§ãããã ããšãã°ãBSD JailsãŸãã¯Solaris Zonesãšã®çµ±åã