Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
ã¢ããªã±ã¼ã·ã§ã³ã®åä½ç°å¢ãã³ã³ããåããããã«ããã¼ã¹ã¨ãªãubuntuãcentosã®ã¤ã¡ã¼ã¸ã«å¿ è¦ãªã¢ããªã±ã¼ã·ã§ã³ãä¸ã¤ãã¤æåã§ã¤ã³ã¹ãã¼ã«ãã¦ä½æãã¦ããæ¹æ³ãããã¾ãããã¤ã³ã¹ãã¼ã«æé ãè¨è¿°ããDockerFileã使ã£ã¦ä½æããæ¹æ³ãããã¾ãã ã¤ã³ã¹ãã¼ã«æé ãDockerFileã§ã¹ã¯ãªããåãã¦ãããã¨ã§åå©ç¨æ§ãé«ã¾ãã¾ãã ä»åã¯DockerFileã«ããinfoScoopã稼åããããµã¼ãã¼ã®ã¤ã¡ã¼ã¸ãä½æããã³ã³ãããèµ·åããã¨ããã¾ã§ã®æé ããç´¹ä»ãããã¨æãã¾ãã Dockerã®ã¤ã³ã¹ãã¼ã« Dockerã¯Linuxã§åä½ãã¾ãã®ã§ãLinuxãã·ã³ãç¨æãã¾ãã ä»åã¯ubuntuãç¨æããã®ã§apt-getã§Dockerãã¤ã³ã¹ãã¼ã«ãã¾ãã sudo apt-get install docker.io WindowsãMacã®å ´åã¯boot2doc
Docker ã使ãç¶ãã¦ã³ã³ãããã¤ã¡ã¼ã¸ãæ¾ç½®ãã¦ããã¨å·®åã ãã¨ã¯ããã ãã£ã¹ã¯ã®æ¶è²»ãå¢ãã¦ãã£ã¦ã æ¸ãè¾¼ã¿ã¨ã©ã¼: ããã¤ã¹ã«ç©ºãé åãããã¾ãã (ENOSPC, write error: No space left on device) ã¨ããã¨ã©ã¼ã«ãªã£ã¦ãã¾ãã¾ãã 2017-03-18 è¿½è¨ æè¿ã®ãã¼ã¸ã§ã³ã§ã¯ docker system prune ã使ãã®ãè¯ãããã§ãã å¤ããã¼ã¸ã§ã³ã使ãã¨ãã®åèã¨ãã¦ã以ä¸ã®è¨è¿°ã¯å¤ãã¾ã¾æ®ãã¦ããã¾ãã ã³ã³ããã®åé¤ docker rm ã® Eamples ã«ããããã« ã§åæ¢ãã¦ããã³ã³ãããåé¤ã§ãã¾ãã å®è¡ä¸ã®ã³ã³ãããããã¨åé¤ã§ããªãã¨ããã¨ã©ã¼ãåºã¾ããã æå³çã«ãã£ã¦ãããã¨ãªã®ã§æ°ã«ããå¿ è¦ã¯ããã¾ããã å ¬å¼ã®ããã¥ã¡ã³ãã«ãæ¸ãã¦ããæ¹æ³ãªã®ã§ã ã³ã³ããã®åé¤æ¹æ³ã¯ãã®ããæ¹ã§åé¡ãªãã¨æ
çµè« 以ä¸ã®æé ã§ä½ãã®ãå¹ççã§ãã ãã¼ã¹ã«ãã Docker ã¤ã¡ã¼ã¸ã決ãã docker run -it <docker-image> sh ã§ã³ã³ããå é¨ã§ä½æ¥ 1è¡ãã¤ããã¾ããã£ããã©ããã«ã¡ã¢ 失æããããã£ãã exit ãã¦å度 docker run ãã¡ã¤ã«ã®åãè¾¼ã¿ããã¼ãã®å¤é¨å ¬éãå¿ è¦ãªããªãã·ã§ã³ä»ã㧠docker run å ¨é¨ãã¾ããã£ãã Dockerfile ã«ãã ãããã§è¦ããã¨ã¯ãªãã§ããããã docker build ã§è©¦è¡é¯èª¤ããªãã Dockerfile ãä½ãã¨ããããããã¯ãããã«è¦è¡ã§ãã é ã ãããã°ãã«ããï¼ã³ã³ããççºããï¼ï¼ã£ã¦æ°æã¡ã«ãªãã¾ãã ãããåå ã§ãDocker 使ããªã 便å©ãããªã ãã¨æã£ã¦ããã®ãªãããã¯åéãã§ãã æé 詳説 試ãã« ip-api.com ã«ãªãã¼ã¹ãããã·ããã ãã® Nginx ã¤
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}